In many cases, a system admin may need to create many accounts at the same time, e.g., at the beginning of a new school year. Write a shell script that creates 20 user accounts, with your choice of configuration variables, except that 10 of them should be in a group called “undergrad” and 10 others in the group “csgrad”. Only for clean-up purposes for this assignment, submit a script that removes these accounts also. Note that in practice, deleting a user’s account does not happen often and should be with sufficient advance notice and caution.
Hi, this is my answer.... View the full answer