Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PART1: (10 points) You will be required to add 3 imaginary users to your system make up an appropriate username and password for EACH user.

PART1: (10 points)

You will be required to add 3 imaginary users to your system make up an appropriate username and password for EACH user. The following link can help:https://ubuntu.com/server/docs/security-users

Requirements:

  • You must add the users using 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's password will their lastname followed by their the first 2 letters of their firstname,
    • e.g., Teen Titan's password would be titante
  • Each user has to change their password on their first login, and the password needs to be changed regularly. You are to decide how often the password should be changed.
  • Each user belongs to a group and the name of that group is the last 4 digits of your student id number.
  • NOTE - Oneof your users should only be hired temporally and their account will need to expire in 2 months, so after 2 months that user should not be able to gain access to their 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.

Put the exact commands that you used here FOR EACH USER:

Information for your first user

Sysadmin Action Linux Command
Create first user with a password and home folder
User has to change their password on login.
User's password expires and needs to be changed after 45 days have passed

Set user's shell to /bin/bash

What is the password for the user?

Information for your second user

Sysadmin Action Linux Command
Create second users with a password and home folder
User has to change their password on login.
User's password expires and needs to be changed after 45 days have passed

Set user's shell to /bin/bash

What is the password for the user?

Information for your third user

Sysadmin Action Linux Command
Create third user with a password and home folder
User has to change their password on login.
User's password expires and needs to be changed after 45 days have passed

Set user's shell to /bin/bash

What is the password for the user?

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

Data Communications and Networking

Authors: Behrouz A. Forouzan

5th edition

73376221, 978-0073376226

More Books

Students also viewed these Computer Network questions

Question

=+a. Calculate and interpret the sample mean and median.

Answered: 1 week ago