← Linux Administration learning pathLinux Administration · Module 2 of 10
Users and groups
Create users, manage groups and use sudo.
📖 Key ideas
- useradd/adduser creates users; passwd sets passwords.
- Groups share permissions: usermod -aG developers asha.
- root is the superuser; use sudo for admin tasks.
- /etc/passwd lists users; /etc/shadow stores password hashes.
- Disable direct root SSH login.
💡 Real-life example: Users are employees, groups are departments, root is the managing director with every key.
rootSuperuser account
sudoRuns a command as another user (usually root)
GroupSet of users sharing permissions
/etc/shadowStores password hashes