Services and User Management
The group devs owns thousands of project files and must be renamed engineering. Its GID must stay the same so file ownership is unchanged. Which command does this?
Show the answer
Correct answerA. groupmod -n engineering devs
groupmod -n takes the new name followed by the existing group name, and it leaves the GID unchanged. Using -g 2000 changes the GID and would leave existing files owned by a numeric ID that no longer maps to the group. -g also expects a number, not a name.