What user should run this?
Opened this issue · 0 comments
alturic commented
If this should be ran as root, wouldn't this break things in the updateUserAccount function?
if [[ $createUser == [nN] ]]; then
username=$(whoami)
updateUserAccount "${username}"
elif [[ $createUser == [yY] ]]; then
read -rp "Enter the username of the new user account: " username
addUserAccount "${username}"
else
echo 'This is not a valid choice!'
exit 1
fi