How to add a user to Wheel group?
Posted
by
Natasha Thapa
on Super User
See other posts from Super User
or by Natasha Thapa
Published on 2012-10-13T15:18:49Z
Indexed on
2012/10/13
15:42 UTC
Read the original article
Hit count: 222
I am trying to add a use to wheel group using in a Ubuntu server.
sudo usermod -aG wheel john
I get:
usermod: group 'wheel' does not exist
On my /etc/sudoers I have this:
> cat /etc/sudoers
> # sudoers file.
> #
> # This file MUST be edited with the 'visudo' command as root.
> #
> # See the sudoers man page for the details on how to write a sudoers file.
> #
>
> # Host alias specification
>
> # User alias specification
>
> # Cmnd alias specification
>
> # Defaults specification
>
> # User privilege specification root ALL=(ALL) ALL %root ALL=(ALL) NOPASSWD: ALL
>
> %wheel ALL=(ALL) NOPASSWD: ALL
Do I have to do groupadd of wheel?
© Super User or respective owner