Change the owning user and group on directory

Assignment Help Computer Engineering
Reference no: EM133637794

Part One: Users and Groups

Complete the following steps from a shell as root or sudo, on server1:

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

Reference no: EM133637794

Questions Cloud

Describe physical database. identify table names : Describe physical database. Identify table names and data field names and identify primary and secondary table key(s).
Why does nick decline to see jordan baker : Why does Nick decline to see Jordan Baker (page 155)?
Describe the release management process : Describe the release management process. What do you feel is the most critical part of the release creation process, and why?
Differentiate between the styles of seating arrangement : Depending on the subjects that you teach, how will you arrange the physical components of the class? Give reasons to support your choice.
Change the owning user and group on directory : 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
Roles of collaboration-critical thinking and digital tools : What would the design for a future middle or high school look like? What are the roles of collaboration, critical thinking, and digital tools?
What is the impact digital devide on job opportunity : what is the impact digital devide on job opportunity and obtaining essential services?
Describe the problems and then provide an analysis : Describe the problems and then provide an analysis of the extent to which the concepts of physical database design might or might not be helpful in addressing
Brief overview of the edward snowden case : Brief overview of the Edward Snowden case and the significance of his disclosures. Analysis of National Security Concerns:

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd