How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Mr. Gregory White Your Own Question
Mr. Gregory White
Mr. Gregory White, Professor
Category: Homework
Satisfied Customers: 5240
Experience:  M.A., M.S. Education / Educational Administration
Type Your Homework Question Here...
Mr. Gregory White is online now
A new question is answered every 9 seconds

I need help with the following. You now need to write a

Customer Question

I need help with the following.
You now need to write a script for user maintenance. Write a script that will perform the following tasks:
Prompt the system administrator for all valid input parameters
Generate a menu to ask which task is needed to be performed
Create a UNIX group
Drop a UNIX group
Create a user
Drop a user
Note that as part of the Create User section, a UNIX group many be identified that does not already exist, so that group will need to be created as part of the process.
A third script that you need to write will kill all of the processes associated with a user. The following are the requirements:
Prompt the system administrator for the target user name
List the running processes for that user
Confirm with the system administrator before killing the processes
Kill the processes after confirmation
It is very important to note with this task that you should only kill processes for a user and his or her running processes; do not arbitrarily kill running daemons.
Submitted: 1 year ago.
Category: Homework
Expert:  Mr. Gregory White replied 1 year ago.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Customer: replied 1 year ago.

That looks great, is it Unix shell code or Perl?

also i do not see the script to delete username and group.I am good with the current script just need to know how to do the delete portion. Thank you