From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Solution: File access control
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Solution: File access control
(upbeat music) - [Instructor] From the previous challenge, you needed Steve, Sue, and Taylor users. If you've not given them passwords, you want to do that first. You also need a group named Developers with all three users as members. Let's start this chapter's challenge by creating a directory for group collaboration. I'm going to put it in slash home. Type in, sudo nkdir /home/developers and hit Enter. Now we'll make sure it's owned by the developers group. Type in, sudo chown :developers as the group, /home/developers and hit Enter. We need to make sure that all users in the developers group can enter the directory as well as read and write files. For that, we'll change the permissions. Type in, sudo chmod 770 /home/developers and hit Enter. Verify with lS -ld /home/developers and hit Enter. The next objective says that all files created by our three developers should automatically be owned by the developers group. The word automatically is the key. There's only one method of…
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
-
-
-
-
File and directory modes1m 19s
-
Change file and directory ownership3m 14s
-
Set permissions using numeric mode3m 2s
-
Set permissions using symbolic mode4m 46s
-
Initial permissions using umask4m 30s
-
Special file bits: SUID and SGID4m 59s
-
Special directory bits: SGID and Sticky5m 55s
-
Read access control lists3m 36s
-
Set access control lists (ACLs)5m 49s
-
Configure inheritance with default access control lists4m 27s
-
Delete access control lists4m 15s
-
Challenge: File access control2m 34s
-
Solution: File access control6m 54s
-
-
-
-
-
-