0% found this document useful (0 votes)
732 views2 pages

Lab Questions

The document describes 6 lab questions that involve configuring users, groups, and permissions in Linux. Lab 1 involves creating 2 users and a group. Lab 2 restricts root login to the 6th virtual console. Lab 3 sets up a user with full sudo privileges. Lab 4 gives a user permission to run fdisk with sudo. Lab 5 shares documentation with new users. Lab 6 creates a group and shared directory for file sharing.

Uploaded by

Alex Enriquez
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
732 views2 pages

Lab Questions

The document describes 6 lab questions that involve configuring users, groups, and permissions in Linux. Lab 1 involves creating 2 users and a group. Lab 2 restricts root login to the 6th virtual console. Lab 3 sets up a user with full sudo privileges. Lab 4 gives a user permission to run fdisk with sudo. Lab 5 shares documentation with new users. Lab 6 creates a group and shared directory for file sharing.

Uploaded by

Alex Enriquez
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

LAB QUESTIONS During the Red Hat exams, the tasks will be presented electronically.

Therefore, this book presents most of the labs electronically as well. For more information, see the Lab Questions section toward the end of Chapter 8. Most of the labs for this chapter are straightforward and require a very few commands or changes to one or two configuration files. Lab 1 For this lab, create a new user named newguy. Make sure that user is a member of the users group. Create a second user named intern. Create a special group named peons, and make both new users members of that group. Assign a GID of 123456 to that group. Lab 2 In this lab, youll make it a bit more difficult for the root administrative user to log into any console. Make whatever changes are required to limit local access from the root user to the sixth virtual console Lab 3 Create a new user named senioradm. Set up that user with full sudo privileges. But user senioradm should still be required to enter his regular account password before hes allowed to run an administrative command. Lab 4 Create a new user named junioradm. Set up that user with privileges to run the fdisk command, with the help of sudo. In this case, user junioradm should still be required to enter his regular account password before hes allowed to run the fdisk command. Lab 5 Make sure all new users get a copy of the info-* subdirectory of the /usr/share/doc directory, including all files therein. Test the result by creating a new user named infouser with the useradd command and the User Manager.

Lab 6 In this lab, youll create a private directory for a group of engineers designing some galleys. Youll want to create a group named galley for the engineers named mike, rick, terri, and maryam. Theyll want to share files in the /home/galley directory. What do you need to do?

You might also like