summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/system/vyatta_update_login_user.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/system/vyatta_update_login_user.pl b/scripts/system/vyatta_update_login_user.pl
index a059c227..0b847ff7 100755
--- a/scripts/system/vyatta_update_login_user.pl
+++ b/scripts/system/vyatta_update_login_user.pl
@@ -137,8 +137,8 @@ if ($user eq "-d") {
}
my %level_map = (
- 'admin' => [ 'users', 'quaggavty', 'vyattacfg', 'sudo', ],
- 'operator' => [ 'users', 'quaggavty', ],
+ 'admin' => [ 'users', 'quaggavty', 'vyattacfg', 'sudo', 'adm', ],
+ 'operator' => [ 'users', 'quaggavty', 'adm', ],
);
exit 4 if (!defined($user) || !defined($full) || !defined($encrypted)
|| !defined($level));