subject

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 with same user exists, if not available then only the username need to be created.
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

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
question
Computers and Technology, 25.06.2019 01:30
Once a vulnerability has been identified by nessus, where would you check for more information regarding the identified vulnerability, exploits, and any risk mitigation solution?
Answers: 1
question
Computers and Technology, 25.06.2019 04:10
While creating a web page, what does each of the following html tags define? 1. 2. 3. 4. a. defines a new paragraph b. defines a term c. defines a single line break d. defines a heading
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Ais the hardware where the data is actually stored.
Answers: 1
You know the right answer?
Create a bash script to create a user with a. input given for Firstname, Lastname, username, primar...
Questions
question
Mathematics, 27.01.2020 02:31
question
Biology, 27.01.2020 02:31
question
Mathematics, 27.01.2020 02:31