Question: Using your VMware Ubuntu server VM, create a script NewUser.bash which accepts firstname and lastname parameters from the command line, creates a userid consisting of

Using your VMware Ubuntu server VM, create a script NewUser.bash which accepts firstname and lastname parameters from the command line, creates a userid consisting of the first intial and last name in lowercase, creates a new user with the userid and first/last names automatically completing other entries required to add the user. In a Word document you name LinuxUser.docx place screen caps [screen caps can be separate for each requirement but it is ok to have one cap which shows 2 or 3 of these in the same cap] which show

A ls command which shows your NewUser.bash script as file in a directory

b. A cat command which shows the contents of NewUser.bash

c. A finger command for userid dtechprac which should show that userid doesn't exist

d An execution of your NewUser.bash script for a user named Demo Techprac (who should get userid dtechprac when added)

e A finger command for userid dtechprac which should show that this userid now exists

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!