Symptoms
When a user uses the sudo command, an email similar to the following is sent to the admin email.
sudo: wp-toolkit : problem with defaults entries ; TTY=unknown ; PWD=/usr/local/cpanel/3rdparty/wp-toolkit/scripts ; USER=root ;
Description
When the System Security Services Daemon is installed, it adds an sss entry to the /etc/nsswitch.conf file. This causes SSSD to run using sudo, which will send the email when a local user runs sudo because SSSD doesn't support sudo rules for local users.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open
/etc/nsswitch.confin your preferred text editor. - Find the
sudoers line.sudoers: files sss
- Remove the
sssentry from the line.sudoers: files
- Save the changes and exit the text editor.
Comments
0 comments
Article is closed for comments.