2023 You now need to write a script for user maintenance Write a script that will perform the following tasks | Assignment Collections
Computer Science 2023 UNIX systems programming Unit 2 Individual project
2023 You now need to write a script for user maintenance Write a script that will perform the following tasks | Assignment Collections
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.
- Include a discussion about the difference between user processes and daemons.
- What are daemons, and what are they used for?
- What are the consequences of killing a daemon using this script?
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.