summaryrefslogtreecommitdiff
path: root/templates/system/login
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 14:06:49 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 14:06:49 -0800
commitd85b9132e5817f7a10eb93b52c2696711bc5d18d (patch)
treed7eacf2b33d43adf6fef541b35ad2f898a444775 /templates/system/login
parent30cc647675e017e7fd602bf841d1eee87346deee (diff)
downloadvyatta-cfg-system-d85b9132e5817f7a10eb93b52c2696711bc5d18d.tar.gz
vyatta-cfg-system-d85b9132e5817f7a10eb93b52c2696711bc5d18d.zip
* change "user group" to "user level".
* "admin" => "users", "quaggavty", "vyattacfg", "sudo". * "users" => "users", "quaggavty" * use "sudo" group for sudo permissions. * don't add "root" to /etc/group.
Diffstat (limited to 'templates/system/login')
-rw-r--r--templates/system/login/user/node.def2
-rw-r--r--templates/system/login/user/node.tag/level/node.def (renamed from templates/system/login/user/node.tag/group/node.def)4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/system/login/user/node.def b/templates/system/login/user/node.def
index fbac0c54..d05ac373 100644
--- a/templates/system/login/user/node.def
+++ b/templates/system/login/user/node.def
@@ -9,7 +9,7 @@ then rm -rf /tmp/vyatta-delete-system-login-user-$(@).\\\$PPID && exit 0; \
fi && \
sudo /opt/vyatta/sbin/vyatta_update_login_user.pl \
'$(@)' '$(full-name/@)' '$(authentication/encrypted-password/@)' \
- '$(group/@)'"
+ '$(level/@)'"
delete: "if [ x$(@) == x ]; then exit 1; fi && \
if [ x$(@) == xroot ]; then \
echo Cannot delete user \"root\" 1>&2 && exit 2; \
diff --git a/templates/system/login/user/node.tag/group/node.def b/templates/system/login/user/node.tag/level/node.def
index 17739351..30ac731c 100644
--- a/templates/system/login/user/node.tag/group/node.def
+++ b/templates/system/login/user/node.tag/level/node.def
@@ -1,7 +1,7 @@
type: txt
-help: "User group"
+help: "User privilege level"
default: "admin"
-syntax: $(@) in "admin", "users"; "Users can only be in group \"admin\" or \"users\""
+syntax: $(@) in "admin", "users"; "Allowed levels are \"admin\" and \"users\""
#comp_help:Possible completions:
# admin\t\tAdministrators
# users\t\tNormal users