Problem with sudo after upgrade to wheezy

after an upgrade from squeeze to wheezy I had a strange error when using sudo:

First I tried to fix the /etc/profile to stop it using strange …game folder in my PATH. But the solution was to add the following line just after “Defaults env_reset” in /etc/sudoers:

 

4 thoughts on “Problem with sudo after upgrade to wheezy

  1. Thanks. Totally solved my problem. The downside to not going with the new package’s sudoers etc config file.

  2. Thanks! This fix allowed me to recover a broken dist-upgrade that could not find update-rc.d in the path.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.