Question: Using your Virtual machine, do the following tasks: PART1: You will be required to add 3 users

Using your Virtual machine, do the following tasks:

 

PART1:

 

            You will be required to add 3 users to your system.  For the sake of simplicity, use the following information for your user accounts:

 

USER1

 

Full Name / Comment: George Jetson

Username: jetsong

Password: jetsong

 

USER2

 

            Full Name / Comment: Fred Flintstone

            Username: flintstonef

            Password: flintstonef

 

USER3

 

            Full Name / Comment: Johnny Bravo 

            Username: bravoj

            Password: bravoj

 

Requirements:  You must add the users as displayed above, when creating an account; you must only use the useradd command from the command line (NO GUI).  You must also make sure that each user has a valid home folder under /home. You should set their SHELL to /bin/bash.

 

Each user should have the necessary password set for their account as well as the description (a.k.a. comment field) for future reference if needed. Each user has to change their password on their first login, and the password needs to be changed every 60 days.  Johnny was only hired temporarily and his account will need to expire in 3 months, so after 3 months, Johnny should not be able to gain access to his account.

 

You have to use the specific commands available in Linux to either create a user with all pertinent information all at once, or by utilizing other commands which will help modify existing users with updated info piece by piece - like comments.

PART2:

 

You must make a directory structure to this affect off the root of the file system (/):

 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above question is provided below PART 1 Create the usersuseradd m c George Jetson s binbash jetsonguseradd m c Fred Flintstone s binbash flintstonefuseradd m c Johnny Bravo ... View full answer

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 Operating System Questions!