diff options
-rwxr-xr-x | scripts/system/vyatta_update_login_user.pl | 2 | ||||
-rw-r--r-- | templates/system/login/user/node.tag/level/node.def | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/system/vyatta_update_login_user.pl b/scripts/system/vyatta_update_login_user.pl index 745b85d1..a059c227 100755 --- a/scripts/system/vyatta_update_login_user.pl +++ b/scripts/system/vyatta_update_login_user.pl @@ -138,7 +138,7 @@ if ($user eq "-d") { my %level_map = ( 'admin' => [ 'users', 'quaggavty', 'vyattacfg', 'sudo', ], - 'users' => [ 'users', 'quaggavty', ], + 'operator' => [ 'users', 'quaggavty', ], ); exit 4 if (!defined($user) || !defined($full) || !defined($encrypted) || !defined($level)); diff --git a/templates/system/login/user/node.tag/level/node.def b/templates/system/login/user/node.tag/level/node.def index 66561e12..2596bd7a 100644 --- a/templates/system/login/user/node.tag/level/node.def +++ b/templates/system/login/user/node.tag/level/node.def @@ -1,7 +1,7 @@ type: txt help: User privilege level default: "admin" -syntax:expression: $VAR(@) in "admin", "users"; "Allowed levels are \"admin\" and \"users\"" +syntax:expression: $VAR(@) in "admin", "operator"; "Allowed levels are \"admin\" and \"operator\"" comp_help:Possible completions: - admin\t\tAdministrators - users\t\tNormal users + admin Administrators + operator Operators |