summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-29 10:22:53 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-29 10:22:53 -0800
commit79462a99c2f29cb8cea0d98683e6d2f8a63c824b (patch)
treed5b8b449568717ae703a5df92b6370eb547119b1
parentf09fbbf2680781c08f76db9dd3995efe5f9a1c63 (diff)
downloadvyatta-cfg-system-79462a99c2f29cb8cea0d98683e6d2f8a63c824b.tar.gz
vyatta-cfg-system-79462a99c2f29cb8cea0d98683e6d2f8a63c824b.zip
put operator in operator group
This is part of other permission fixes, it puts operators into a group that can then be used for access control.
-rwxr-xr-xscripts/system/vyatta_update_login_user.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login_user.pl b/scripts/system/vyatta_update_login_user.pl
index 0b847ff7..0eea2806 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', 'adm', ],
- 'operator' => [ 'users', 'quaggavty', 'adm', ],
+ 'operator' => [ 'users', 'quaggavty', 'operator', 'adm', ],
);
exit 4 if (!defined($user) || !defined($full) || !defined($encrypted)
|| !defined($level));