4bsd .login and .cshrc

Juergen Wagner gandalf at csli.STANFORD.EDU
Sun Mar 27 16:33:57 AEST 1988


In article <27 at denali.UUCP> crkarish at 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 at csli.stanford.edu
Center for the Study of Language and Information (CSLI), Stanford CA



More information about the Comp.unix.questions mailing list