Can't agree more with all of the posters who've advised you to stay out of
/etc/profile and pointed you to /etc/profile.d and similar directories.
This directory "nest" might seem disoriented at first. I can't agree any
more strongly with John's recommendation, either. In this circumstance,
z/Linux is no different than the rest of the Linuces.

The Linux Standard Base (LSB ... refer to http://www.linuxbase.org)
defines the minimum requirements for shell initialization. Both SuSE and
Red Hat conform, so you're safe on either of those platforms (as you'd be
on most of the other distros, too) if you assume the /etc/* directories
with effects on shell init exist.

As you decide as to how to implement your feature(s), you might want to
refer to the LSB and conform. Otherwise you might find yourself
implementing a solution whose validity might disappear over time ... or
with your next system maintenance update ... or worse.

Unfortunately, many products existed or were in development before LSB:
they're only now starting to do the "right thing". It's going to take some
time before all the software houses get it implemented across their
product lines.

Peace,
--Jim--




John Summerfied <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
11/16/2005 01:07 AM
Please respond to
Linux on 390 Port


To
[email protected]
cc

Subject
Re: Which profile file is read on z/Linux?






<snip>
The best place to learn this stuff is on one's own peecee. It's cheap,
it can be at home, and only you care if you stuff it up.
</snip>


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to