["root"]


Sudo is a program designed to allow a sysadmin to give limited ["root"] privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow people to get their work done.


Troubles and tweaks

CVE-2005-4158

With the fix for CVE-2005-4158: Insecure handling of PERLLIB PERL5LIB PERL5OPT environment vars, the default behaviour of handling environment variables was switched to protect against malicious local users with sudo privileges getting sudo to do more than the malcontent was given privileges to do.

As a result, unless you modify your sudoers file to contain Defaults env_reset, you may experiance problems using sudo like the following:

If you had more complex setups where you meant to pass through environment variables, your work around may be more complex or no longer possible.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342948