diff --git a/installers/common.sh b/installers/common.sh index ce76ae7..4368bfc 100644 --- a/installers/common.sh +++ b/installers/common.sh @@ -16,7 +16,7 @@ if [ $(id -u) -eq 0 ]; then else pass=$(perl -e 'print crypt($ARGV[0], "password")' $password) useradd -m -p $pass $username - sudo usermod -aG root $username + sudo adduser $username sudo [ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!" fi else