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

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…

Contents