[CentOS] sudo path

Johnny Hughes johnny at centos.org
Sat Jul 21 17:20:28 UTC 2007


centos wrote:
> Hello
> 
> Any time I am running sudo, I should have full path to the command,
> for example sudo /sbin/ifconfig
> 
> Is there any way to set the path for sudo ?

use this command to get that (instead of just sudo):

sudo su -


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20070721/fd5637bc/attachment.sig>


More information about the CentOS mailing list