我正在尝试在 Ubuntu 服务器中添加一个用于 wheel 组的用途。
sudo usermod -aG wheel john
我得到:
usermod:组“wheel”不存在
在我的 /etc/sudoers 上有这个:
> 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
我必须对轮子进行 groupadd 吗?