- 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.
Table of Contents
Create a Shared Directory Called /test_scripts
Create a directory called
Users Added to the System
Add four user accounts to the system that will be used for working on the test scripts.
Add Users to a Common Group
Add the four new users to the
testersgroup already created on the system.
Set Appropriate Group Ownership and Permissions
testersneeds to own the
/test_scriptsdirectory 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.