sudo and PATH?
Matt Price
matt.price at utoronto.ca
Fri Jan 5 19:01:28 UTC 2007
hi,
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
path:
sudo /usr/local/scripts/worknetworksetup.sh
instead of
sudo worknetworksetup.sh
I have my regular user's path set to:
$PATH:/usr/local/scripts/
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?
Thanks,
Matt
--
Matt Price
History Dept
University of Toronto
matt.price at utoronto.ca
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070105/515d0a18/attachment.sig>
More information about the ubuntu-users
mailing list