diff options
Diffstat (limited to 'templates/system')
-rw-r--r-- | templates/system/login/user/node.def | 2 | ||||
-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 |