The user smith , whose primary group is smith, would like to create a file in his home directory,
which belongs to the group apps.
Which two statements are correct? (Choose two.)
A.
SGID should be set on the destination directory to let users create files that belong to the group
other than their primary group.
B.
The user smith could create a file that belongs to the apps group only if his private group is the
apps group as per /etc/group.
C.
The user smith could use the newgrp command to log in to the apps group and his private
group will be changed to apps group for a particular session if his name is listed in /etc/group as a
member of apps group.
D.
The user smith could use the newgrp command to log in to the apps group, but a password is
required to change his private group to apps group for a particular session if his name is not listed
in /etc/group as a member of apps group.
Explanation: