RedHat RHCT (Redhat Certified Technician) RH202 RH202 Question # 27 Topic 3 Discussion

RedHat RHCT (Redhat Certified Technician) RH202 RH202 Question # 27 Topic 3 Discussion

RH202 Exam Topic 3 Question 27 Discussion:
Question #: 27
Topic #: 3

Make user1, user2 and user3 belongs to training group.

Answer and Explanation:

    usermod -G training user1

    usermod -G training user2

    usermod -G training user3

    Verify from : cat /etc/group

There are two types of group, I) primary group II) Secondary or supplementary group.

      Primary 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.


Get Premium RH202 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.