{"id":620,"date":"2012-08-12T21:00:53","date_gmt":"2012-08-12T14:00:53","guid":{"rendered":"http:\/\/whplus.com\/blog\/2012\/08\/12\/autorepair-script-to-fix-rhelcentos-sudo-update-breaks-resolver.html"},"modified":"2012-08-12T21:00:53","modified_gmt":"2012-08-12T14:00:53","slug":"autorepair-script-to-fix-rhelcentos-sudo-update-breaks-resolver","status":"publish","type":"post","link":"https:\/\/www.whplus.com\/blog\/2012\/08\/12\/autorepair-script-to-fix-rhelcentos-sudo-update-breaks-resolver.html","title":{"rendered":"Autorepair script to fix RHEL\/CentOS sudo update (breaks resolver)"},"content":{"rendered":"<p>cPanel has released an autorepair script to resolve a problem caused by a  CentOS and Red Hat Enterprise Linux security update to sudo.<\/p>\n<p> If you are experiencing problems resolving domains, please take the following action from WHM or a root shell:<\/p>\n<p> To apply the fix from WHM:<br \/> ==========================<br \/> 1. Login to WHM as root<\/p>\n<p> 2. Manually append the following to the url:<\/p>\n<p> \/scripts2\/autofixer<\/p>\n<p> examples:<br \/> https:\/\/[YOURSERVERHERE]:2087\/scripts2\/autofixer<br \/> https:\/\/[YOURSERVERHERE]:2087\/cpsess999999\/scripts2\/autofixer<\/p>\n<p> 3. In the script name field, enter:<\/p>\n<p> nsswitch<\/p>\n<p> 4. Click Submit<\/p>\n<p> To apply the fix from a root shell:<br \/> ===================================<br \/> \/scripts\/autorepair nsswitch<br \/> # or for newer versions of cPanel<br \/> \/usr\/local\/cpanel\/scripts\/autorepair nsswitch<\/p>\n<p> cPanel has assigned internal case number 60611 to track this problem.<\/p>\n<p> 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.whplus.com\/blog\/2012\/08\/12\/autorepair-script-to-fix-rhelcentos-sudo-update-breaks-resolver.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"registered_only","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-620","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/comments?post=620"}],"version-history":[{"count":0,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/620\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/media?parent=620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/categories?post=620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/tags?post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}