Fix script-user-add
This commit is contained in:
@@ -17,7 +17,7 @@ if [[ -d /mnt/array/home-retired/"$user" ]]; then
|
||||
ask_ok "Restore user $user's files from /mnt/array/home-retired/$user?" && restore="yes"
|
||||
fi
|
||||
|
||||
! ask_ok "Create user $username with password $password?" || exit $?
|
||||
ask_ok "Create user $username with password $password?" || exit $?
|
||||
|
||||
ask_ok "Make user $username an admin?" && \
|
||||
useradd_cmd+=("-G" "wheel")
|
||||
|
||||
Reference in New Issue
Block a user