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 23,300 courses taught by industry experts.
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
-
(Locked)
Change file and directory ownership3m 14s
-
(Locked)
Set permissions using numeric mode3m 2s
-
(Locked)
Set permissions using symbolic mode4m 46s
-
(Locked)
Initial permissions using umask4m 30s
-
(Locked)
Special file bits: SUID and SGID4m 59s
-
(Locked)
Special directory bits: SGID and Sticky5m 55s
-
(Locked)
Read access control lists3m 36s
-
(Locked)
Set access control lists (ACLs)5m 49s
-
(Locked)
Configure inheritance with default access control lists4m 27s
-
(Locked)
Delete access control lists4m 15s
-
(Locked)
Challenge: File access control2m 34s
-
(Locked)
Solution: File access control6m 54s
-
-
-
-
-
-