added usermod to put akanealw in sudo group
This commit is contained in:
@@ -38,6 +38,7 @@ fi
|
||||
if [[ ! -f /etc/sudoers.d/akanealw ]] ; then
|
||||
echo "akanealw ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/akanealw
|
||||
fi
|
||||
usermod -a -G sudo akanealw
|
||||
|
||||
# enable ping for all users
|
||||
setcap 'cap_net_admin,cap_net_raw+ep' $(which ping)
|
||||
|
||||
Reference in New Issue
Block a user