On Tue, Sep 06, 2005 at 09:33:44PM -0700, Dan Nicholson wrote: > > I agree that that works, and that's probably what I'm going to do. > Thanks for writing back. The reason that I haven't done this so far is > that I'm worried that there are things in /etc/profile that should only > be done at login. Taking a look through, though, it seems ok. I just > don't understand the logic that applications should mess with the > environment unless they absolutely have to (i.e. PATH or LD_LIBRARY_PATH).
xdm isn't messing with the path in the way that you think. xdm is it's own login prompt. /bin/login is not used and the environment that /bin/login sets up is for /bin/login only. xdm, since it is a login its own self, requires its own configuration. For a comparison, it would be silly for lynx to use firefox's configuration. They both do essentially the same thing, but they are their own entity as well with their own requirements. Now xterm is another story. While it can (and does) have its own environment, that environment should be in addition to the shell environment and not in place of it since it is just a vehicle for running the shell, not replacing it. Granted, the above is just an abstract and not a simple "do this and it will work". However, I hope that by seeing it from a different perspective you will gain a fuller understanding which hopefully will lead to more (and possibly better) problem solving possibilities as you venture into it more. Have fun! -- Archaic Want control, education, and security from your operating system? Hardened Linux From Scratch http://www.linuxfromscratch.org/hlfs -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page