Description
Unformatted Attachment Preview
CMIT 388 CMIT 388 Model Red Hat Linux System Administration I
Project 1 Instructions
Project Setup:
Install a basic CentOS (https://www.centos.org/centos-stream/) system. Sections 1.1 and 1.2 in
the reading provides an overview of this setup. You can also review the video from the Reading
author here: https://www.youtube.com/watch?v=4qwUHSaIJdY
Note: when asked, set the system hostname to server1. Follow section 1.2 for the installation
configuration, including root and your default user.
Project Work Product
You need to submit a work product file containing the list of commands you used to implement
the changes contained in the project instructions below. Use the CMIT 388 – Project 1
Template as your work product file.
Project Instructions:
Part One: Users and Groups
Complete the following steps from a shell as root or sudo, on server1:
1. Create a new group lnxgrp with GID 6000.
2. Create user userp1 with UID 5000 and GID 6000.
3. Assign this user a password and establish password aging attributes so that this user
cannot change their password within 4 days after setting it and with a password validity
of 30 days. This user should start getting warning messages for changing password 10
days prior to account lock down. This user account needs to expire on the 20th of the
December in the next calendar year.
4. Then, add a rule for userp1 to the /etc/sudoers file to allow this user full root access on
the system. Make sure that this user is not prompted for a password when they use sudo
to execute a command.
5. Now switch into the userp1 account and try running
a. sudo users. Confirm the id of userp1
b. sudo groups. Confirm the gid of lnxgrp
Type date in the same shell you used to complete step 5 and take a screenshot of the output from
step 5a and 5b and the date command.
Part Two – Files and Permissions
1. As userp1 on server1, create file file1 and directory directory1 under /tmp in a shell.
2. Change the owning user for file1 to userp2 (you’ll need to create the user; specify ID
5001 and GID 6000) and owning group to lnxgrp.
3. List the contents of /tmp using the command ls -laht
4. Change the owning user and group on directory1 to userp2:lnxgroup2 (you’ll need to
create the group; specific GID 6001) recursively.
5. List the contents of /tmp using the command ls -laht
Type date in the same shell you used to complete the above steps and take a screenshot showing
the output from steps along with the date command.
CMIT 388 CMIT 388 Model Red Hat Linux System Administration I
Project 1 Work Product
Name:
Section:
Instructions
Type the exact command used to complete each step after the corresponding number below and
the paste the screenshot as outlined in the project instructions.
Part One
1.
2.
3.
4.
5a.
5b.
Screenshot 1:
Part Two
1.
2.
3.
4.
5.
Screenshot 2:
Purchase answer to see full
attachment