generate-admin-account.bash
generate-admin-account.bash USERNAME [GITHUB_USERNAME]
generate-admin-account.bash sets up an admin user account per DLD group practice for Ubuntu GNU/Linux machines. In addition to adding the user it adds the groups we use to admin a machine, creates a README.1st file in the home directory with instructions to change the password and pulls ssh public keys from GitHub for the user we’re creating.
The script should be run using sudo.
sudo generate-admin-account.bash jane.doe
This would create an admin account for jane.doe.
sudo generate-admin-account.bash jane.doe jdeo
This could create an account for jane.doe with the GitHub username of jdoe.