Missing In PATH

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



Maybe try a 'su -' instead of 'su'?

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Cody Holland
Sent: Monday, October 17, 2005 4:08 PM
To: centos@xxxxxxxxxx
Subject:  Missing In PATH

I'm a newb to linux so please be patient.  Running CentOS 4.  Using
Bash.  I'm not sure what happened, but now for some reason /sbin,
/usr/sbin, and /usr/local/sbin are all missing from the path.  I am su'd
as root.  I've tried several different methods to put this back
including:

PATH="/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/hom
e/cholland/bin:/sbin:/usr/sbin:/usr/local/sbin"

export PATH=$PATH:/sbin
export PATH=$PATH:/usr/sbin
export PATH=$PATH:/usr/local/sbin

All of these do add the directories to the path until I logout and log
back in.  Then they are gone again.  Any help would be greatly
appreciated.

Thanks
Cody
_______________________________________________
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