From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Create, delete, and modify local groups and group memberships - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Create, delete, and modify local groups and group memberships
- [Instructor] Now let's explore how to create, delete, and modify local groups and group memberships in Linux. Each user can belong to one or more groups. Now, why are these useful? Here's an example. Let's say we have a directory full of files that our developers need to work on. We need to create permissions for John and Jack so they can do their job running the website. And then we hire Jane, and we must know all the permissions for John and Jack and duplicate those exact permissions for Jane. If any of them leave or change positions, we'll have to modify their permissions again. An elegant solution to this problem is to create a new group called Developers. The Developers group is the owner of these files, and we change permissions so that the Developers group can read and write to those files. Then we add our three users to the Developers group. Now, John, being part of the Developers group, can easily edit those files as well as Jack and Jane. And if we want to temporarily deny…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Create, delete, and modify local user accounts8m 56s
-
(Locked)
Create, delete, and modify local groups and group memberships5m 15s
-
(Locked)
Manage system-wide environment profiles3m 57s
-
(Locked)
Manage template user environment1m 29s
-
(Locked)
Configure user resource limits6m 3s
-
(Locked)
Manage user privileges5m 12s
-
(Locked)
Manage access to root account2m 37s
-
(Locked)
Configure the system to use LDAP user and group accounts13m 57s
-
(Locked)
-
-
-