From 3f90953b7705a59dbb41019bd69f924541607238 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 26 Feb 2008 14:50:27 -0800 Subject: 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. --- scripts/system/vyatta_update_login_user.pl | 4 ++-- 1 file 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)); -- cgit v1.2.3