Article View: comp.sys.ibm.pc.rt
Article #1842Re: Sytstem wide .login on RT running AIX 2.2.1
From: Ronald S. Woan
Date: Thu, 21 Dec 1989 15:18
Date: Thu, 21 Dec 1989 15:18
27 lines
2197 bytes
2197 bytes
In article <13530@s.ms.uky.edu>, pjl@ms.uky.edu (Paul Linton) writes:
> Every account on the RT here runs /bin/csh by default. My problem
> is that they do not execute /etc/profile upon login. I could not find
> anything in the manuals relating to a system wide .login (such as
> /etc/login), has anyone figured this out?
It is strange that /etc/profile doesn't execute upon login; I'll have
to give it a try this weekend. Anyways, try the /etc/environment file
which is what I use to set global environment variables (I use ksh
though). The "Managing the AIX Operating System Manual" states:
Before any user logs in to the system, the init process (the
main process starting the system) reads the file /etc/environment. The
init process passes variable assignments made in the /etc/environment
to each process it creates (its child processes). These variables
automatically become part of the list of exported shell variables.
The manual doesn't mention that /etc/profile is not executed when csh
is the default shell though...
Ron
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan (IBM VNET)WOAN AT AUSTIN, (AUSTIN)ron@woan.austin.ibm.com +
+ outside of IBM @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron +
+ last resort woan@peyote.cactus.org +
Technical Details
Message-ID:
<1194@awdprime.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!woan.austin.ibm.com!ronReferences:
<13530@s.ms.uky.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!woan.austin.ibm.com!ron From: ron@woan.austin.ibm.com (Ronald S. Woan) Newsgroups: comp.sys.ibm.pc.rt,comp.unix.aix Subject: Re: Sytstem wide .login on RT running AIX 2.2.1 Keywords: use /etc/environment for variables Message-ID: <1194@awdprime.UUCP> Date: 21 Dec 89 15:18:41 GMT References: <13530@s.ms.uky.edu> Sender: news@awdprime.UUCP Reply-To: @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron Followup-To: comp.sys.ibm.pc.rt Organization: IBM-Austin, AWD Lines: 27