PDA

View Full Version : Need help with Path



jrmontg
8th February 2007, 04:55 PM
Everytime I reboot I have to reset my $PATH becuase it is messed up. So I run this before I can do anything...

PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
export PATH

I have to do this for me and root. How can I have this saved for all users so I don't have tio type this everytime?

baschti
8th February 2007, 04:58 PM
hi,
for one user edit ~/.bash_profile
for all users edit /etc/bashrc

jrmontg
8th February 2007, 05:02 PM
Thanks for that I found through those scripts a bad shell script in the /etc/profile.d folder... I removed it and everything is golden