cancel
Showing results for 
Search instead for 
Did you mean: 

remsh & rlogin hang

Tim Wescott
Occasional Contributor

remsh & rlogin hang

From time to time I have experienced a problem with remsh & rlogin hanging, but not for all users. I have checked that there are the correct entries in .rhosts and hosts.equiv, but it still does not work.

There are no errors in the syslog and the only way to cure it is to reboot the server, which is not acceptable in a live environmant.

Any help appreciated.


Regards
Tim
2 REPLIES
Michael Tully
Honored Contributor

Re: remsh & rlogin hang

Hi Tim,

The first thing I would check are the latest patches for login.

HTH
-Michael
Anyone for a Mutiny ?
Santosh Nair_1
Honored Contributor

Re: remsh & rlogin hang

We've seen remsh/rlogin hangs for a couple of reason...all related to NFS. If the user's home directory is NFS mounted and you're using automount, we've seen delays in logging in on a system up to 1/2 a minute. Another common problem is when the HISTFILE is either not set or is set to the users' home directory which is NFS mounted. In that scenario, we've seen the login hang indefinitely or until someone does a cntrl-C. The solution there is to point the HISTFILE variable to some local filesystem, e.g. HISTFILE=/tmp/.sh_history.$LOGNAME.$$

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans