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 template user environment - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Manage template user environment
- [Instructor] Now let's look at managing the template user environment in Linux. When we created new user accounts, we mentioned one action that happens by default: All files from the /etc/skel directory are copied to the new user's /home directory. This can be very helpful when we want to create a template for the user's environment. Now, practical examples are easier to understand, so let's jump right in and explain as we go along. Imagine that we want to inform all new users about some default policy. Our old users already know about it, but every time we add a new user, it's likely that they don't know yet. What we can do is add a custom file to /etc/skel. Let's do that. So we'll edit this README file in /etc/skel. And we'll add this text: "Please don't run CPU-intensive processes between 8:00 AM and 10:00 PM." And then save our file. Now we'll add a new user to test this out. And let's explore our /home directory. The -a option makes ls list all files, including some that are…
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)
-
-
-