Question: Create a bash script to automatically add users in the system from a file called userlist. The userlist file will contain a list of usernames
Create a bash script to automatically add users in the system from a file called userlist.
The userlist file will contain a list of usernames as below...
testuser1
testuser2
testuser3
All new users must have their own home directory and their default shell must be bash.
All new users' password will be "tos 1141". When a new user first logs in, they must be prompted to change their password.
Create a bash script to automatically add users in the system from a file called userlist. The userlist file will contain a list of usernames as below... All new users must have their own home directory and their default shell must be bash. All new users' password will be "tos 1141 ". When a new user first logs in, they must be prompted to change their password
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
