Sorry for my typo error - should have been: Modify your ~./bash_profile and add /sbin to your PATH. cheers! On 7/22/07, Eduardo Dela Rosa <eduardo.delarosa at gmail.com> wrote: > > 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 -- Eduardo Dela Rosa -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070722/8c96b9a4/attachment-0005.html>