[NTLUG:Discuss] Re: SuSE 9 or 9.1 PATH environment changes after su -- LSB and newer Red Hat

Chris Cox cjcox at acm.org
Mon Sep 13 15:48:30 CDT 2004


Chris Cox wrote:
...
> With the advent of profile.d on SUSE, other things may happen as well
> on login depending on what is configured there.  This is where you would
> make customizations to /etc/profile things... just add your script to the
> /etc/profile.d directory.  Thus allowing SUSE to destroy /etc/profile
> if necessary during an update (to alter some kind of variable, PATH or
> otherwise).
> 

Red Hat also uses /etc/profile.d.  So we need to be real careful about
being stringent with regards to PATH setting as a result of an "su -".



More information about the Discuss mailing list