READ Free Dumps For RedHat- RH302
Question ID 17450 | Create the directory /data and group owner should be the sysadmin group. |
Option A | Answer : 1.chgrp sysadmin /data 2.Verify using ls -ld /data command. You should get like 59 /data chgrp command is used to change the group ownership of particular files or directory. Another way you can use the chown command. sysadmin /data |
Correct Answer | A |
Question ID 17451 | Make user1, user2 and user3 belongs to training group. |
Option A | Answer : usermod -G training user1 usermod -G training user2 usermod -G training user3 cat /etc/group There are two types of group, I) primary group II) Secondary or supplementary group. Primary group defines the files/directories and process owner group there can be only one primary group of one user. Secondary Group is used for permission. Where permission are defined for group members, user can access by belonging to that group. Here user1, user2 and user3 belong as supplementary to training group. So these users get the permission of group member. |
Correct Answer | A |