2020-04-27 02:28:49 +00:00
|
|
|
### scripts
|
|
|
|
adduser.sh - Script to add new user, run with sudo if you want to configure / allow user to sudo
|
2020-05-27 14:17:40 +00:00
|
|
|
- `./adduser` - (Prints help text)
|
|
|
|
- `./adduser <name> <userID>` - (Command doesn't need sudo if new user doesn't need sudo)
|
2020-04-27 02:28:49 +00:00
|
|
|
- `sudo ./adduser <name> <userID>`
|
2020-05-27 14:17:40 +00:00
|
|
|
- `sudo ./adduser jeff 1005` - (Creates jeff user and assign userID to 1005)
|
2020-04-27 02:28:49 +00:00
|
|
|
- Follow prompts to configure password / sudo depending on needs of new user
|
2020-05-27 14:17:40 +00:00
|
|
|
- After the user is created, append them to any needed groups with `sudo usermod -aG groupname username`
|
2020-04-27 02:28:49 +00:00
|
|
|
|