From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Create, delete, and modify local user accounts - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Create, delete, and modify local user accounts
- [Instructor] Now let's look at how to create, delete, and modify local user accounts in Linux. Each person that needs to log into our Linux server should have their own separate user account. This allows them to have personal files and directories protected by proper permissions. They also get to choose their own settings for whatever tools they use, and it also helps us as administrators. We can limit the privileges of each user based on what they require to do their job. This can sometimes reduce or prevent the damage when somebody accidentally writes the wrong command and it can help with the overall security of the system. It will be up to us to manage these user accounts, which are sometimes simply called users. So let's dive right in and see how to create a new user on a Linux system. The command that lets us add a new user is intuitively called adduser, and the simplest form we can use is sudo adduser John, where John can be replaced with whatever username we want to choose…
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)
-
-
-