added usermod to put akanealw in sudo group

This commit is contained in:
2023-09-25 12:19:31 -05:00
parent 859aa9c1d7
commit ec732bd192
2 changed files with 3 additions and 0 deletions

View File

@@ -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)