File Systems and Advanced Scripting

back to top

Value: 15%
Due Date: 20-Sep-2020
Return Date: 14-Oct-2020
Length: XXXXXXXXXXpages including screenshots
Submission method options: Alternative submission method
TASK
back to top
This is an individual assignment. You may discuss it with others, but your code and documentation must be written on your own.

Working knowledge of shell scripting is essential for anyone wishing to become reasonably proficient in system administration, even if they do not anticipate having to actually write a script.



#Task 1: Reflection on Hands-on Projects (7.5 marks)

Complete the following hands-on projects from your textbook:

Hands-on Project 3-4
Hands-on Project 3-7
Hands-on Project 4-5
Hands-on Project 4-7
Hands-on Project 5-4
Hands-on Project 7-3
Note: The password does not have to be the same as the one mentioned in the task.

Deliverable: Write a XXXXXXXXXXwords (up to two A4 pages) report on lessons learned from these projects. Comment on each project individually within the two-page limit. You can write one lesson learned from each of the projects. You should answer the questions at each hands-on project.



#Task 2 Shell Scripting and automated account management : (7.5 Marks)

One of the difficult tasks that Linux administrators face is to manage users or new employees. The difficulty can be to add deletion and change user attributes. In this task, your job is to write a shell script that performs the following tasks:
the script must accept first, last or middle names,
the script must be able to assign a new user to a group of student (if the group does not exist, the script must create user group),
based on the first name and last name, the script should generate a unique username with a length of 5 characters,
the script must check if the username does not exist before adding,
generate a complex password for the new user,
based on username scripts generate an email within thecsu.edu.audomain,
the scripts must be written in a Sentinel loop,


Important Note:

you have to submit all of the scripts for the above three tasks.
sufficient instructions to the user once the script has been executed,
the script needs the necessary commands,
the indentation has to be followed.
the script must be in TEXT format NOT

No Comment.