CORRECT TEXT User Sheets has been exiled to the marketing department who has a group name mktg. You now
wish to change the primary group for the user Sheets to the mktg group. Type in the simplest command to do this?
Answer: usermod -g mktg Sheets
2 Comments on “Type in the simplest command to do this?”
MenceYsays:
newgrp?
0
0
Busindresays:
NO, usermod is OK
newgrp (log in to a new group) changes the group identification of its caller, analogously to login(1). The same person remains logged in, and the current directory is unchanged, but calculations of access permissions to files are performed with respect to the new group ID.
newgrp?
0
0
NO, usermod is OK
newgrp (log in to a new group) changes the group identification of its caller, analogously to login(1). The same person remains logged in, and the current directory is unchanged, but calculations of access permissions to files are performed with respect to the new group ID.
0
0