sudo and PATH?

Matt Price matt.price at
Fri Jan 5 19:01:28 UTC 2007


I have a bunch of scripts in /usr/local/scripts/ , some of which need
sudo access.  It's frustrating to always have to type out the whole file

sudo /usr/local/scripts/
instead of

I have my regular user's path set to:

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?



Matt Price
History Dept
University of Toronto
matt.price at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list