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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Shared Directory Called /test_scripts
Create a directory called
/test_scripts
.- 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
testers
group already created on the system.- 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.