- Keep personal files and directories protected by proper permissions
- Configure their own environment and tool settings
- Operate with the least privilege, reducing accidental damage and attack surface

1. Creating a New User
Useuseradd to provision a fresh account.
Skeleton files define initial user config.
2. Setting a Password
After account creation, assign a strong password:3. Deleting a User
Remove user accounts carefully:Using
Always back up important data before proceeding.
--remove (or -r) will delete the user’s home directory and mail spool permanently.Always back up important data before proceeding.
4. Customizing Account Creation
Pass flags to override defaults:5. Inspecting User Records
Account metadata resides in/etc/passwd:
- Field breakdown:
username:password:UID:GID:comment:home:shell
/home:
6. Identifying the Current User
7. System Accounts
System accounts serve daemons and services. They typically have UIDs below 1000 and no home directory:8. Modifying an Existing User
Useusermod to update user settings:
9. Password Aging with chage
Control password policies using chage:
10. References
- Linux User Management (The Linux Documentation Project)
- Kubernetes Basics
- chage Manual
- passwd Manual