Subject: | |
From: | |
Reply To: | |
Date: | Tue, 20 Nov 2001 10:00:54 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Ken Hirsch wrote:
> With a "-L" flag, the shell will read commands from "/etc/profile". It will
> also read a file ".profile" in your home directory if it exists.
>
> (I do a setvar for HOME, TERM, and TZ in my logon UDC.)
since we seem have more folks venturing into posix-land.....it's probably
worthwhile to point out that you *don't* want to change /etc/profile. that file
'belongs' to hp -- that is, when you do an mpe update (theoretically thinking
that there will be more mpe updates to do....), this file will be replaced.
at the bottom of /etc/profile, you should see the following....
# (new) if /etc/profile.local exists then execute it. This file should
# only contain site specific profile changes.
if [ -r /etc/profile.local ] ; then
. /etc/profile.local
fi
in mpe-speak -- if finfo('/etc/profile.local','exists') xeq
/etc/profile.local :-)
in other words --make your customizations in /etc/profile.local. an watch your
permissions too! i have both profile files set to 755 (that might be
generous.....) - d
--
Donna Garverick Sr. System Programmer
925-210-6631 [log in to unmask]
>>>MY opinions, not Longs Drug Stores'<<<
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|