sudo 1.7.4 with the -s flag breaks my shell!

No it doesn’t. It just doesn’t preserve your $HOME variable, as explained in the UPGRADE file. To fix it, just follow the instructions in there and add:

Defaults env_keep += HOME

to your sudoers file. Voila!

No related posts.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>