Path: utzoo!yunexus!ists!mike From: mike@ists (Mike Clarkson) Newsgroups: comp.unix.questions Subject: Re: 4bsd .login and .cshrc Message-ID: <176@ists> Date: 29 Mar 88 02:23:59 GMT Article-I.D.: ists.176 Posted: Mon Mar 28 21:23:59 1988 References: <326@ivory.SanDiego.NCR.COM> <7765@apple.Apple.Com> <27717@linus.UUCP> <3126@csli.STANFORD.EDU> Organization: I.S.T.S. Lines: 23 In article <3126@csli.STANFORD.EDU>, gandalf@csli.STANFORD.EDU (Juergen Wagner) writes: | In article <27@denali.UUCP| crkarish@stanford.edu (Chuck Karish) writes: | >Csh behaves differently on some SysV systems. AIX doesn't source | >.cshrc on an su. | | Yes, HPUX doesn't read cshrc, either. Or, I should say - it reads your | .cshrc, and doesn't care about the new user's .cshrc. It even takes | HOME and the other environment variables just from the parent process, | so simple "cd" brings you back into *YOUR* home directory, not into | the directory of the user to su'ed to. Same with most SysV's. But and interesting bsd feature (?) is that it will only source the .login if the user logging in owns that file. For example, if I'm logging in as mike, and ~mike/.login is owned by root, the ~mike/.login will not be executed. -- Mike Clarkson mike@ists.UUCP Institute for Space and Terrestrial Science York University, North York, Ontario, CANADA M3J 1P3 (416) 736-5611