Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I really need help with this assignment. Please provide step by step instructions and screenshot of the steps and execution, so I can follow how

I really need help with this assignment. Please provide step by step instructions and screenshot of the steps and execution, so I can follow how to complete this assignment.

Prof. Orlando Karam maintains an Ubuntu Linux server for his class. Every semester he needs to create an account for each student. It takes a lot of time to create these accounts one by one interactively. So he decides to automate the process by writing a script. You are Orlandos TA and volunteered to complete the task.

Please propose a solution and write a script (either Bash or Perl) to implement your solution.

Basic requirements:

The script reads from a CSV file for student information (exported from Excel).

The file is made up of the lines like this: Jack,Zheng,jzheng3 //[first name],[last name],[campus email id] Mark,Cuban,mcuban2

Please make up your own CSV file (with at least 5 students/lines) for testing purpose.

Every student is assigned a common initial password (you will determine the password). Students are required to change their passwords at first login. All student accounts should be assigned to a student group. This group already exists in the system (you need to create this group first for testing purpose). Make some other assumptions if not specifically required. Reminder: you will and should do some research on how to read and parse CSV files, and how to process passwords programmatically.

Execute your script and take two screen shots:

a. The passwd file content, with the new accounts clearly shown. (Screenshot A3-1)

b. The shadow file content, with the new accounts clearly shown. (Screenshot A3-2)

2. Login with one of the new student account and show that you have successfully logged in using the newly created account. Take a screen shot showing the user id in the terminal. (Screenshot A3-3) 3.

Compile one PDF document with the script, the CSV file content, and all three screen shots, clearly labeled for each part.

Please and Thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions