summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-26 14:50:27 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-26 14:50:27 -0800
commit3f90953b7705a59dbb41019bd69f924541607238 (patch)
tree4b24aa43451825d5b752209b5b11d1490df8142b
parent0225aa7954236999d2ce110093378880ba7b65f4 (diff)
downloadvyatta-cfg-system-3f90953b7705a59dbb41019bd69f924541607238.tar.gz
vyatta-cfg-system-3f90953b7705a59dbb41019bd69f924541607238.zip
add operator and admin to linux group adm
Add operator to group adm to allow reading log files without sudo. This group is used allow reading files in /var/log so the operational mode show log commands don't need sudo.
-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));