On Fri, 21 Sep 2001 14:47:50 +1130 Mike Andrew <[EMAIL PROTECTED]>
wrote:

> On Tuesday 18 September 2001 14:23, Collins Richey wrote:
> > I have bash 2.04, and I can't find anyway to get the aliases in
> the
> > profile to take effect for normal users.
> >
> .............
> > If, however, I use su, ls is available immediately in color.
> >
> > Is this a bash bug, maybe?
> [snipetty hack]
> 
> 
> "su"  uses the existing users environment and paths
> 
> "su -"
> 
> uses root's bash script
> 

Yes, but both sets of scripts are identical, namely both .bash_profile
and .bashrc in both /home/collins and /root are

#!/bin/bash -ls
source /etc/profile

The alias ... statements take effect only when I use su or login
directly as root.


OK, here's the problem.  Direct login as root or normal user works
aok.  xterm under xfce, or konsole under kde ignores the aliases
during initial login; you have to manually issue source /etc/profile. 
It's not just my profile - any aliases you put in the profile will be
ignored.

How can I slay this beast?


-- 
Collins Richey
Denver Area
gentoo_rc6 xfce+sylpheed
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to