summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-11 23:14:44 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-11 23:14:44 -0700
commit64df88a052e7e1af4c32dc7834304a2f1579ef4f (patch)
tree9f6150a725bbe0c3737702cca59a1375ce131040 /templates/show
parent0fdb23d33f7027c7114d741f96cfa0bc97f1f8b8 (diff)
downloadvyatta-op-64df88a052e7e1af4c32dc7834304a2f1579ef4f.tar.gz
vyatta-op-64df88a052e7e1af4c32dc7834304a2f1579ef4f.zip
Add show system login users
Bug 4828 Add script to show logins and compare vyatta config to current system. Show only, does not change status.
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/system/login/node.def1
-rw-r--r--templates/show/system/login/users/all/node.def2
-rw-r--r--templates/show/system/login/users/locked/node.def2
-rw-r--r--templates/show/system/login/users/node.def2
-rw-r--r--templates/show/system/login/users/open/node.def2
-rw-r--r--templates/show/system/login/users/other/node.def2
-rw-r--r--templates/show/system/login/users/vyatta/node.def2
7 files changed, 13 insertions, 0 deletions
diff --git a/templates/show/system/login/node.def b/templates/show/system/login/node.def
new file mode 100644
index 0000000..0969ccf
--- /dev/null
+++ b/templates/show/system/login/node.def
@@ -0,0 +1 @@
+help: Show user accounts
diff --git a/templates/show/system/login/users/all/node.def b/templates/show/system/login/users/all/node.def
new file mode 100644
index 0000000..519e442
--- /dev/null
+++ b/templates/show/system/login/users/all/node.def
@@ -0,0 +1,2 @@
+help: Show information about all accounts
+run: /opt/vyatta/bin/show-users.pl all
diff --git a/templates/show/system/login/users/locked/node.def b/templates/show/system/login/users/locked/node.def
new file mode 100644
index 0000000..ebd84a0
--- /dev/null
+++ b/templates/show/system/login/users/locked/node.def
@@ -0,0 +1,2 @@
+help: Show information about locked accounts
+run: sudo /opt/vyatta/bin/show-users.pl locked
diff --git a/templates/show/system/login/users/node.def b/templates/show/system/login/users/node.def
new file mode 100644
index 0000000..c867e19
--- /dev/null
+++ b/templates/show/system/login/users/node.def
@@ -0,0 +1,2 @@
+help: Show user account information
+run: sudo /opt/vyatta/bin/show-users.pl color
diff --git a/templates/show/system/login/users/open/node.def b/templates/show/system/login/users/open/node.def
new file mode 100644
index 0000000..a221163
--- /dev/null
+++ b/templates/show/system/login/users/open/node.def
@@ -0,0 +1,2 @@
+help: Show information about open accounts (no password)
+run: sudo /opt/vyatta/bin/show-users.pl open
diff --git a/templates/show/system/login/users/other/node.def b/templates/show/system/login/users/other/node.def
new file mode 100644
index 0000000..4c99637
--- /dev/null
+++ b/templates/show/system/login/users/other/node.def
@@ -0,0 +1,2 @@
+help: Show information about non-Vyatta accounts
+run: sudo /opt/vyatta/bin/show-users.pl other
diff --git a/templates/show/system/login/users/vyatta/node.def b/templates/show/system/login/users/vyatta/node.def
new file mode 100644
index 0000000..3338080
--- /dev/null
+++ b/templates/show/system/login/users/vyatta/node.def
@@ -0,0 +1,2 @@
+help: Show information about vyatta accounts
+run: /opt/vyatta/bin/show-users.pl vyatta