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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!