Manage Sudo Group Users
Valid for versions 100 through the latest version
Version:
100
Last modified: June 13, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface for resellers in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).
Overview
This interface allows you to manage the sudo group’s membership. The system grants users in the sudo group the permission to execute the su
command, which allows a user to gain root
or superuser access.
-
This interface does not grant users permission to run the
sudo
command. To grant users permission to execute thesudo
command, open the/etc/sudoers
file and uncomment the following line:%sudo ALL=(ALL:ALL) ALL
-
We strongly suggest that you use the
visudo
command to open the/etc/sudoers
file. Thevisudo
command opens the/etc/sudoers
file in a text editor and validates the file’s syntax when you save your changes. For more information about thevisudo
command, read sudo.ws’s Visudo Manual documentation.
This interface changes to Manage Wheel Group Users for any server not using Ubuntu for its operating system.
Manage sudo group users
To add a user to the sudo group, perform the following steps:
-
Select the desired user from the Add a user to the sudo group menu.
-
Click Add to Group.
To remove a user from the sudo group, perform the following steps:
-
Select the appropriate user from the Remove a user from the sudo group menu.
-
Click Remove from Group.