🔥 3-day streak
CompTIA Linux+ (XK0-006)2 / 123
Question 2 of 123

You added a new administrator, jsmith, to the 'wheel' group with 'usermod -aG wheel jsmith' on a RHEL 9 system where wheel is granted sudo access via /etc/sudoers. jsmith is currently logged in via SSH but reports that 'sudo' commands still fail with a 'not in sudoers' error. What is the most likely reason and correct action?

Reviewed for accuracy · Report an issueNext question