Question: This assignment is designed for creating a long list of users. You don't want to sit in front of a computer to create thousand of

This assignment is designed for creating a long list of users. You don't want to sit in front of a computer to create thousand of users manually.
There are three tasks in this assignment. First, to write a shell script that can read a list of name from a file and create an user account with randomly generated password for each user. The user account info (usernames and passwords) should be stored in a new file. Second, to write a shell script that can delete a list of users including their home directories. Third, to write a shell script that can delete a list of users but keep their home directories. The second and third scripts will read from the same input file that contains the names of users.

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 Databases Questions!