Services and User Management
A user named alice is already a member of the supplementary groups developers and qa. An administrator must add her to the docker group without removing her from any existing group. Which command accomplishes this?
Show the answer
Correct answerC. usermod -aG docker alice
usermod -aG appends the group to the user's supplementary groups. Without -a, -G replaces the whole supplementary list, so alice would lose developers and qa. Lowercase -g would change her primary group instead.