Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!mcnc!decvax!decwrl!labrea!csli!gandalf From: gandalf@csli.STANFORD.EDU (Juergen Wagner) Newsgroups: comp.unix.questions Subject: Re: 4bsd .login and .cshrc Message-ID: <3126@csli.STANFORD.EDU> Date: 27 Mar 88 06:33:57 GMT References: <326@ivory.SanDiego.NCR.COM> <7765@apple.Apple.Com> <27717@linus.UUCP> <111@infmx.UUCP> <27@denali.UUCP> Reply-To: gandalf@csli.stanford.edu (Juergen Wagner) Organization: Center for the Study of Language and Information, Stanford U. Lines: 17 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. "su - user" does read .cshrc *AND* .login under HPUX. --Juergen -- Juergen Wagner, gandalf@csli.stanford.edu Center for the Study of Language and Information (CSLI), Stanford CA