READ Free Dumps For RedHat- RH302
Question ID 17444 | Make Secondary belongs the jackie and curtin users on sysuser group. But david |
Option A | Answer : 1.usermod -G sysuser jackie 2.usermod G sysuser curtin 3.Verify by reading /etc/group file 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 belongs 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. |
Correct Answer | A |
Question ID 17445 | Give Full Permission to owner user and owner group member but no permission to |
Option A | Answer : We can change the permission of file/directory either character symbol method or numeric method. r-Read w-Write x-Execute Permission Category u- Owner User g- Owner Group o- Others Operators + Add the Permissions - Remove the Permissions = Assigns the Permissions 4Read 2 Write 1Execute 777 chmod u+rwx /data chmod g+rwx /data chmod o-rwx /data or chmod 770 /data ls ld /data You will get drwxrwx--- |
Correct Answer | A |