From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,3a53d18f2ac6572b X-Google-Attributes: gidf72b0,public X-Google-Thread: 1147fc,3a53d18f2ac6572b X-Google-Attributes: gid1147fc,public X-Google-Thread: f678f,3a53d18f2ac6572b X-Google-Attributes: gidf678f,public From: Oliver Brandt Subject: Re: "rsh" doesn't read .login file but only .cshrc file Date: 1997/01/25 Message-ID: <32E986FE.87CF359@berlin.snafu.de>#1/1 X-Deja-AN: 212044910 references: <32E8CBE6.41C6@cranfield.ac.uk> content-type: text/plain; charset=us-ascii organization: Unlimited Surprise Systems, Berlin mime-version: 1.0 newsgroups: comp.parallel.mpi,comp.unix.misc,comp.unix.osf.misc x-mailer: Mozilla 3.01 (X11; I; Linux 2.0.18 i586) Yon Han Chong wrote: > > I found out that "rsh" command execute only .cshrc file but not .login > file. Therefore if I put "path" command in .login file rsh cannot find > programs which is in private directory and if I put "path" command in > .cshrc file each time I open a cshell the length of the path get longer > and longer. > > At the moment I have put the "path" command in .cshrc file so I have to > live with ever growing path list but is there nice solution for this. > Currently I am using OSF1 digital unix operating system. > perhaps something like this will work: rsh host "( source .login ; command ... )" ob