Site icon Doc Sity

UMGC Basic CentOS System Lab Project

UMGC Basic CentOS System Lab Project

Description

Project 1 InstructionsProject Setup:Install a basic CentOS (https://www.centos.org/centos-stream/) system. Sections 1.1 and 1.2 inthe reading provides an overview of this setup. You can also review the video from the Readingauthor here: Note: when asked, set the system hostname to server1. Follow section 1.2 for the installationconfiguration, including root and your default user.Project Work ProductYou need to submit a work product file containing the list of commands you used to implementthe changes contained in the project instructions below. Use the CMIT 388 – Project 1Template as your work product file.Project Instructions:Part One: Users and GroupsComplete 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 usercannot change their password within 4 days after setting it and with a password validityof 30 days. This user should start getting warning messages for changing password 10days prior to account lock down. This user account needs to expire on the 20th of theDecember in the next calendar year.4. Then, add a rule for userp1 to the /etc/sudoers file to allow this user full root access onthe system. Make sure that this user is not prompted for a password when they use sudoto execute a command.5. Now switch into the userp1 account and try runninga. sudo users. Confirm the id of userp1b. sudo groups. Confirm the gid of lnxgrpType date in the same shell you used to complete step 5 and take a screenshot of the output fromstep 5a and 5b and the date command.Part Two iles and Permissions1. 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, need to create the user; specify ID5001 and GID 6000) and owning group to lnxgrp.3. List the contents of /tmp using the command ls -laht4. Change the owning user and group on directory1 to userp2:lnxgroup2 (you, need tocreate the group; specific GID 6001) recursively.5. List the contents of /tmp using the command ls -lahtType date in the same shell you used to complete the above steps and take a screenshot showingthe output from steps along with the date command.

Explanation & Answer:
1 Page
User generated content is uploaded by users for the purposes of learning and should be used following our’s honor code & terms of service.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Exit mobile version