Verifying if the Wheel Group is Enabled
-
To open the configuration file, execute the following command:
vi sudo -
Search for the following entry in the configuration file:
## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALIf the second line begins with the # sign, it indicates that the line is marked as a comment and the feature is disabled. -
Delete the # sign at the beginning of the second line as given
below.
%wheel ALL=(ALL) ALL -
Save the file and exit the editor.
Note: If there is no # sign at the beginning of the line, do not make any changes. The wheel group is already enabled.
