Chapter 4. User, Group and Permission
This chapter covers how to manage users, groups, and permissions on Linux.
The following lessons are covered in this chapter.
Lessons in this chapter
- What Are User, Group And Permission in Linux?
- Permission (Access Mode) by Owner Status
- Superuser (Root User) vs. Normal User
- sudo (Run Command with Superuser Privileges)
- su (Switch User)
- useradd (Add User)
- passwd (Set Password)
- userdel (Delete User)
- Group – Primary Group and Secondary Group
- groupadd (Add Group)
- usermod (Modify User Account Information)
- gpasswd (Add and Delete Users to Group)
- groupdel (Delete Group)
- chown (Change Owner of File and Directory)
- chgrp (Change Group of File and Directory)
- chmod (Change Access Mode)
- chmod Command with Numbers
- w and who (Check Current User Login Status)
- id and groups (Check User ID and Group)
- getent (Display User and Group Data)