Managing Users and Groups in Linux
Required Lab
Lab not available
Managing Users and Groups in Linux
Prerequisites
Environment Variables and Shell Configuration Files in Linux
Environment Variables and Shell Configuration Files in Linux
File Permissions and Ownership Basics in Linux
1. Fundamentals of Users and Groups in Linux
-
1. Understanding Linux Users and Groups: Concepts and Roles
-
2. Overview of User and Group Files: /etc/passwd, /etc/group, /etc/shadow
2. Managing Users
-
1. Creating and Deleting Users with useradd and userdel
-
2. Modifying User Accounts: usermod Command and Options
-
3. Setting and Changing Passwords with passwd
-
4. Locking and Unlocking User Accounts
-
5. Hands-on Practice: Add New Users, Set Passwords, Lock Accounts
3. Managing Groups
-
1. Creating and Deleting Groups with groupadd and groupdel
-
2. Modifying Groups: groupmod and Group Membership
-
3. Assigning Users to Groups: Primary vs Secondary Groups
-
4. Hands-on Practice: Create Groups, Add Users to Groups
4. Applying User and Group Management
-
1. Understanding User and Group IDs (UIDs and GIDs)
-
2. Common User and Group Management Errors and Troubleshooting
-
3. Mini Project: Automate User and Group Setup Script
Up Next
Linux Package Managers: apt, yum/dnf, and rpm Basics
Disk and Partition Basics for Linux System Administration
Understanding Linux Processes and Job Control
Understanding Linux User Permissions and Sudo
Disk and Partition Basics for Linux System Administration
Understanding Linux Processes and Job Control