[SM-Discuss] bash_profile and bashrc . . .
Jason Flatt
jason at flattfamily.com
Fri Mar 18 09:57:23 EST 2005
I've been doing a little system maintenance this morning and running into a
couple of quirks I thought I'd bring up to see if they are bugs that should
be addressed or not.
The first thing is in the .bash_profile, our /etc/skel version (and $HOME
versions as well) have the following snippet:
root at tbird:~# cat /etc/skel/.bash_profile
PATH1=/sbin:/usr/sbin:/usr/local/sbin
PATH2=/bin:/usr/bin:/usr/local/bin
PATH3=/usr/games:/usr/local/games
PATH4=/usr/bin/X11:~/bin
PATH=$PATH1:$PATH2:$PATH3:$PATH4
PS1='\u@\h:\w\$ '
If our Source Mage systems are supposed to have a /usr directory that is free
of a local directory, shouldn't those PATHs also be free of /usr/local paths?
If that is a bug, which component shall I file it against?
The second thing is that in my /root directory, .bashrc is a copy
of .bash_profile rather than a link to it. In my /home/jason and in
my /etc/skel, those files are links. Is that a bug or by design? If it is a
bug, what component should I file it against?
Thanks.
--
Jason Flatt
Father of five: http://www.flattfamily.com/
Linux user: http://www.sourcemage.org/ - http://www.lvlug.org/
More information about the SM-Discuss
mailing list