diff --git a/files/create-sftp-user b/files/create-sftp-user index 874264c..53ad403 100755 --- a/files/create-sftp-user +++ b/files/create-sftp-user @@ -34,7 +34,7 @@ IFS=':' read -ra args <<< "$1" skipIndex=0 chpasswdOptions="" -useraddOptions=(--no-user-group) +useraddOptions=(--no-user-group --badnames) user="${args[0]}"; validateArg "username" "$user" "$reUser" || exit 1 pass="${args[1]}"; validateArg "password" "$pass" "$rePass" || exit 1