QuestionQ68

VerifiedServices and User Management

A Linux administrator is updating group membership by running these commands:

Question Image

However, the group membership does not appear to change. Which of the following accounts for this issue?

Explanation

The -aG wheel admin options append admin to the existing supplementary membership of the wheel group. Because groups is executed through sudo, it runs as the default target user, root, and displays root’s groups instead of admin’s membership. The groups utility can be given admin explicitly to inspect that account’s configured groups.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!