On Sat, Jun 22, 2024 at 10:15:33AM +0000, dalton.c.russell wrote:
> I double checked with id and it does show that my user is in the wheel group
> but if i look at /etc/groups it isn't listed next to wheel.
What arguments did you pass to usermod exactly?
> is usermod supposed to modify /etc/groups?
If you invoked it as:
# usermod -G wheel my_username
or
# usermod -S wheel,my_username my_username
then it should have done what you wanted and updated /etc/groups appropriately.
No comments:
Post a Comment