Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started