Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!emory!att!cbnewsh!ijk From: ijk@cbnewsh.att.com (ihor.j.kinal) Newsgroups: comp.unix.internals Subject: Re: System-wide .login? Summary: Korn shell equivalent to /etc/profile??? Message-ID: <1990Nov6.183812.26619@cbnewsh.att.com> Date: 6 Nov 90 18:38:12 GMT References: <24926@adm.BRL.MIL> <1990Nov3.202245.3466@erbe.se> Distribution: na Organization: AT&T Bell Laboratories Lines: 23 In article <1990Nov3.202245.3466@erbe.se>, prc@erbe.se (Robert Claeson) writes: > Csh doesn't have anything similar, but Bourne and Korn shell do, > at least under System V. The file /etc/profile serves the same > purpose as syslogin.com. > QUESTION: is /etc/profile really executed upon login under the ksh, assuming the user has ksh as the login shell?? If I want to define a GLOBAL alias for everyone can I do it in /etc/profile? [To answer my own question, is I don't think so]. The only other way I can think of doing this is to define ENV to be read-only, and set it to a file containing the alias in question. This is a rather crude method, and unacceptable if I want users to have additional ENV capabilities. So why doesn't ksh have a global ENV file?? #include standard disclaimers: plus `they' don't give me root, so I can't really play with setting /etc/profile :-) Ihor Kinal att!cbnewsh!ijk