Users & identities
Each Linux account has a UID, primary group, home directory and login shell that define ownership and access.
Linux · User Management
Linux · Lesson 4
Create and manage users in Linux securely. Password policies and profiles. Understanding RBAC and role based access. Real world administration scenarios.
User management is one of the most important responsibilities of a Linux administrator. In this lesson you will learn how to create, manage, verify and secure user accounts directly from the command line.
Every process, file and service in Linux runs under a user or group identity. Understanding users and permissions is therefore essential before moving to advanced administration topics.
Each Linux account has a UID, primary group, home directory and login shell that define ownership and access.
Linux stores public account information in passwd and encrypted passwords inside the protected shadow file.
Groups simplify access control by allowing multiple users to share permissions for files and directories.
Practice the following commands carefully in your Linux lab VM. These examples demonstrate real administrative workflows used in enterprise Linux servers.
Always confirm which account you are using before performing administration tasks.
The /etc/passwd file stores basic user account information and login details.
Use useradd to create a user along with a home directory and default shell.
Administrators often assign custom IDs or shells for application users.
Check the user identity, passwd entry and home directory permissions.
Use su - to test login access and verify the user environment.
Linux allows administrators to lock accounts temporarily or remove them permanently.
devuser and opsuser.developers and add both users to it.su - and create test files inside their home directories.In the next lesson, you will learn Linux group management and file permissions in greater detail.