does also show members of group wheel. However, neither lists accounts that have wheel as primary group.
id testuser1
does list groups that account testuser1 is member of.
It is possible to use the usermod, but then one has to write all the other groups:
# id me
uid=1000(me) gid=1000(me) groups=1000(me),10(wheel),135(mock),1009(slurm)
# moduser -G mock,slurm me
# id me
uid=1000(me) gid=1000(me) groups=1000(me),135(mock),1009(slurm)
Do not edit the /etc/sudoers
Group memberships of accounts are not there; account got admin vie becoming member of group
There is directory /etc/sudoers.d where you can add files with additional sudoers rules
Thanks, @iwalker the gpasswd had somehow eluded me (for years).
What else might lurk in /usr/{bin,sbin} β¦