π Linux Free Masterclass (Episode 11): Users & Groups (useradd, groupadd, and permissions setup)
How do enterprise servers handle multiple system operators securely, ensuring that users only access what they are permitted to see? Through the Linux Users and Groups model.
Here are the key points from Episode 11:
πΉ 1. Understanding Users in Linux
Root User (Superuser): The ultimate system administrator with unrestricted privileges over the entire machine.
System Users: Automated internal accounts reserved for background services and applications.
Normal Users: Standard accounts assigned limited permissions to prevent accidental system-wide damage.
πΉ 2. Creating and Managing Users
useradd: Creates a new user account (e.g., sudo useradd -m rahul automatically generates a home directory using the -m flag).
passwd: Sets or updates a password for a specified user (e.g., sudo passwd rahul).
userdel: Permanently removes a user account, with -r wiping their home directory along with it.
πΉ 3.β¦