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.
Manage user privileges - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Manage user privileges
- [Instructor] Now let's examine how to manage user privileges in Linux. Every time we had to make some important changes to the system, we used sudo in our commands. That's because only the root user, also called superuser, can make changes to important areas of the operating system. However, when we put sudo in front of a command, that command runs as if the root user executed it. So how come our user is allowed to use sudo? If we type in this command, we'll see that our user is a part of the sudo group. Whoever is a part of this group is automatically allowed to use sudo. That means the easiest way to give another user sudo privileges is to add them to the sudo group. To add our user, trinity, to the sudo group, we would type in this. And that's it. Now, this user can get administrator privileges whenever they want, but this gives them power to do anything they want on the system. What if we want more fine tuned control? Then we could take a different approach. Now there's a…
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)
-
-
-