From 79462a99c2f29cb8cea0d98683e6d2f8a63c824b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 29 Feb 2008 10:22:53 -0800 Subject: 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. --- scripts/system/vyatta_update_login_user.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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)); -- cgit v1.2.3