- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.