Linux shell scripting | Information Systems homework help


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

  1. 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:
    1. 1.the script must accept first, last or middle names,
    2. 2.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),
    3. 3.based on the first name and last name, the script should generate a unique username with a length of 5 characters,
    4. 4.the script must check if the username does not exist before adding,  
    5. 5.generate a complex password for the new user,
    6. 6.based on username scripts generate an email within the domain,
    7. 7.the scripts must be written in a Sentinel loop,

#Task 3: Shell scripting and Privilege escalation                                                                   (3 Marks)

  1. The Root user on Linux is equivalent to the Administrator user on Windows, and allowing users to have root privileges on Linux can be dangerous. Write a shell script to detect if the current user is a root user to minimize threats.
    1. Write an appropriate message to the user in a paragraph long,
    2. for the above point, you need to investigate potential root user threats,
    3.  Ask the user if he/she wants to continue working as a root user, if yes,  
    4. log user activity in /var/log/StudentID.txt  directory with all user attributes and timestamp.

Important Note: 

  • you have to submit all of the scripts for the above 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 screenshots (i.e., image).            

Accessing the templates:

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
Need help?