Re: sudo path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux