title: How to get rid off - sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins
body: <p>I am trying to configure apache2 with cgi (python). For that, I have to change permissions of some folders and files but I am getting sudo fatal errors every time I try to change permission of a file or a Folder.</p>
  
  <p>For Example:</p>
  
  <p>1</p>
  
  <pre><code>j@ubuntu:/etc/apache2$ ls
  
  apache2.conf envvars magic mods-enabled sites-available
  
  conf.d httpd.conf mods-available ports.conf sites-enabled
  
  
  
  j@ubuntu:/etc/apache2$ sudo chmod 777 httpd.conf
  
  sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
  
  sudo: fatal error, unable to load plugins
  </code></pre>
  
  <p>...................................................................................</p>
  
  <p>2</p>
  
  <pre><code>j@ubuntu:/usr/lib/cgi-bin$ sudo /etc/init.d/apache2 restart
  
  sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
  
  sudo: fatal error, unable to load plugins
  </code></pre>
  
  <p>...................................................................................</p>
  
  <p>3</p>
  
  <p>j@ubuntu:/usr/lib$ sudo chmod -R 777 /usr/lib/cgi-bin</p>
  
  <pre><code>sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
  
  sudo: fatal error, unable to load plugins
  </code></pre>
  
  <p>...................................................................................</p>
  
  <p>Note:</p>
  
  <p>j@ubuntu:/etc/apache2$ ls -l /usr/lib/sudo/sudoers.so </p>
  
  <p>-rwxrwxrwx 1 root root 177452 Jan 31 2012 /usr/lib/sudo/sudoers.so</p>
  
  <p>Any help would be highly appreciated !</p>