Re: xdm and user's profiles
Ethan Benson <erbenson@alaska.net> writes:
> On 11/11/99 Aaron Van Couwenberghe wrote:
>
> >Non login shells use ~/.bashrc, while login shells use /etc/profile and
> >~/.bash_profile. I'm not sure I agree with this approach, but it's what
> >happens. So, just cobble together an appropriate .bashrc and all should be
> >well.
>
> I do not like this solution, environment variables belong in
> .*profile and besides that there are system wide variables that
> should be loaded as well, in /etc/profile, one example: if the
> sysadmin changes the PATH in /etc/profile then xdm users will not
> benefit (unless he remembers to change the Xresource for XDM).
>
> I would rather fix this so that the real profiles are loaded like
> they are on a console session, I do not see why that should not be
> done.
If you need system wide enviroment stuff, put it in
/etc/enviroment. Its the only place used by all shells, since its
passed as the initial enviroment to all shells.
May the Source be with you.
Goswin
PS: I think someone was working on some ~/.enviroment code.
Reply to: