Question: 3. In GUI-VM1, Create a bash script to create a user with a. input given for Firstname, Lastname, username, primary group, secondary group (if
3. In GUI-VM1, Create a bash script to create a user with a. input given for Firstname, Lastname, username, primary group, secondary group (if any) and password need to encrypted. b. The username need to be checked if the username username need to be created. tn bent with same user exists, if not available then only the c. If the same username already exist in the system, it need to loop back to get a new username and then create the user by checking again. d. Similarly, the group name need to be checked if it is available and if it is not available need to get confirmation to create, if not need to loop to get group input. e. Finally display the username and group
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
