Last active
October 28, 2019 05:30
-
-
Save jsrimr/53e08bbab30a16d65f0ad7a391cb44d2 to your computer and use it in GitHub Desktop.
makeuser.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| password=1234 | |
| for username in eric jeff jesse bella jaeho | |
| do | |
| useradd $username -m -s /bin/bash | |
| echo -e "$password\n$password" |passwd "$username" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment