Often Linux servers contain thousands of users and their files. It's easier to maintain users if they are contained in groups. There are some limitations to the Linux user and group system though. Users can only belong to one primary group and groups cannot contain groups.
- [Narrator] Linux is a multi-user,…multi-terminal operating system.…This means that Linux supports many different users…logged in at the same time.…To simplify management of users,…Linux supports adding them to groups.…An administrator can add multiple users to a group…and then give that group specific access to resources.…This is much easier to manage than having…to configure access control…for each individual user, one at a time.…There's a few things we need to be aware of…concerning the Linux user and group management system.…
Every user has a name and a numeric user ID.…Every group has a name and a numeric group ID.…Each user is required to belong to one group…called a primary group.…In RedHat, this primary group is created automatically…and has the same name as the user.…In other distributions, all users might belong…to one group.…In the case of Debian Linux,…this primary group is named users.…Files created by a user belong to the user…and the user's primary group.…
Users cannot belong to more than one primary group.…
- Identify what data is stored in the /etc/passwd file with the shadow suite installed.
- Name the file that Linux group password hashes are stored in when the shadow suite is installed.
- Describe how to override default account aging information.
- Explain how to elevate privileges using the sudo command.
- Name the command that a user can use to change their effective primary group.