cPanel autorepair script for CentOS

[cPanel-News] cPanel Releases autorepair script for CentOS and RedHat Enterprise Linux

cPanel has released an autorepair script to resolve a problem caused by a CentOS and Red Hat Enterprise Linux security update to sudo.

If you are experiencing problems resolving domains, please take the following action from WHM or a root shell:

To apply the fix from WHM:
1. Login to WHM as root

2. Manually append the following to the WHM url:



3. In the script name field, enter:


4. Click Submit

To apply the fix from a root shell:
/scripts/autorepair nsswitch
# or for newer versions of cPanel
/usr/local/cpanel/scripts/autorepair nsswitch

cPanel has assigned internal case number 60611 to track this problem.

At this time, we believe only RHEL 5, and CentOS 5 are affected if /etc/nsswitch.conf contained a sudoers line prior to the sudo rpm being updated.

For more information about this problem please see the CentOS and RedHat reports below:


I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....