Manage Sudo Group Users

Valid for versions 100 through the latest version

Version:

100

Last modified: June 13, 2024


Looking for this interface?
Note:

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.

Important:
  • This interface does not grant users permission to run the sudo command. To grant users permission to execute the sudo 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. The visudo 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 the visudo command, read sudo.ws’s Visudo Manual documentation.

Note:

This interface changes to Manage Wheel Group Users for any server not using Ubuntu for its operating system.

Manage sudo group users

Warning:
Exercise extreme caution when you add users to the sudo group.

To add a user to the sudo group, perform the following steps:

  1. Select the desired user from the Add a user to the sudo group menu.

  2. Click Add to Group.

To remove a user from the sudo group, perform the following steps:

  1. Select the appropriate user from the Remove a user from the sudo group menu.

  2. Click Remove from Group.

Additional Documentation