This commit is contained in:
Michael Stanclift 2020-10-20 04:32:22 +00:00
parent ce3e17e244
commit c07a7c0572

View File

@ -48,7 +48,7 @@ function new_root_check {
LOCALADMIN=""
else
# Check Sudo
SUDOCHECK=$(groups ${CURRENTUSER} | grep 'sudo')
SUDOCHECK=$(groups ${CURRENTUSER} | grep -e 'sudo' -e 'wheel')
if [ "$SUDOCHECK" == "" ]
then
LOCALADMIN="nosudo"