HP3000-L Archives

November 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Tue, 20 Nov 2001 10:00:54 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
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 *

ATOM RSS1 RSS2