Modify your ~./bash_profile and add /sbin to your PATH.
cheers!
On 7/22/07,
Eduardo Dela Rosa <eduardo.delarosa@xxxxxxxxx> 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@xxxxxxxxxxxxxx > 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
Eduardo Dela Rosa
--
Eduardo Dela Rosa
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos