- Lab
- A Cloud Guru
Creating Users and Groups and Managing User Accounts
The ability to manage user accounts and group membership is a crucial part of any system administrator's toolkit. In this hands-on lab, you will work with tools like `adduser`, `useradd`, `passwd`, `usermod`, `groupadd`, and `groupmod`. At the end of this hands-on lab, you will have learned how to use these tools to manage user accounts and groups on any Linux system.
Path Info
Table of Contents
-
Challenge
Create a Shared Directory Called /test_scripts
Create a directory called
/test_scripts
. -
Challenge
Users Added to the System
Add four user accounts to the system that will be used for working on the test scripts.
-
Challenge
Add Users to a Common Group
Add the four new users to the
testers
group already created on the system. -
Challenge
Set Appropriate Group Ownership and Permissions
The group
testers
needs to own the/test_scripts
directory so that the new users can all share it. Additionally, the owner and group permissions should be read, write, and execute, but there should be no privileges for anyone else.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.