sudo and PATH?

Martin Marcher martin.marcher at
Sun Jan 7 11:04:02 UTC 2007


Am 05.01.2007 um 20:01 schrieb Matt Price:

> but this of course doesn't extend over to sudo  Is there a way to  
> change
> sudo's path, preferably permanently and for every user?

have a look a man sudoers(5) and search for "env_reset" and  
"env_keep" and also the "env_" options in general.

And please do use "visudo" to edit the file...


More information about the ubuntu-users mailing list