This commit is contained in:
Matthew Saunders Brown 2021-10-05 13:50:27 -07:00
parent 8e0f1210bd
commit 7a9423631e

View File

@ -12,10 +12,10 @@ help()
thisfilename=$(basename -- "$0") thisfilename=$(basename -- "$0")
echo "Add system user to server." echo "Add system user to server."
echo "" echo ""
echo "usage: $thisfilename -u <domain> [-p <password> [-i <uid>] [-w] [-h]" echo "usage: $thisfilename -u <username> [-p <password> [-i <uid>] [-w] [-h]"
echo "" echo ""
echo " -h Print this help." echo " -h Print this help."
echo " -u <domain> System username to add to server." echo " -u <username> System username to add to server."
echo " -p <password> Password for username. Optional, random password generated if none specified." echo " -p <password> Password for username. Optional, random password generated if none specified."
echo " -i <uid> Numberic User ID to assign to user. Optional, next available uid set if none specified." echo " -i <uid> Numberic User ID to assign to user. Optional, next available uid set if none specified."
echo " -w Write user info to /home/username/.passwd. Warning! This inlcudes the unencrypted password." echo " -w Write user info to /home/username/.passwd. Warning! This inlcudes the unencrypted password."