Modify your ~/.bash_profile and /sbin to your path, i.e., PATH=/sbin:/usr/sbin:$PATH:$HOME/bin On 7/22/07, centos <centos at unixplanet.biz> 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 ? > > Thanks > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Eduardo Dela Rosa -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070722/3cd599ad/attachment-0005.html>