Home » RedHat » EX294 » SIMULATION
SIMULATION
Make Secondary belongs the jeff and marion users on sysusers group. But harold user should not belongs to sysusers group.
Correct Answer: Please see explanation
Explanation/Reference: Explanation:
1. usermod -G sysusers jeff
2. usermod -G sysuser marion 3. Verify by reading /etc/group file
Note:
Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belong to more than one group as secondary. usermod -g groupname username – To change the primary group of the user. usermod -G groupname username – To make user belongs to secondary group.
Download Printable PDF. VALID exam to help you PASS.
|
|