Modify your ~/.bash_profile and /sbin to your path, i.e.,

PATH=/sbin:/usr/sbin:$PATH:$HOME/bin



On 7/22/07, centos <[EMAIL PROTECTED]> 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@centos.org
http://lists.centos.org/mailman/listinfo/centos




--
Eduardo Dela Rosa
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to