1833210 Members
2851 Online
110051 Solutions
New Discussion

Re: rlogin slow

 
Roberto Volsa
Frequent Advisor

rlogin slow

Hello,
on a server i experience a long time if i rlogin it.
If i log in via telnet the response is very fast.

Any clue?

Thanks a lot

Roberto
6 REPLIES 6
Niraj Kumar Verma
Trusted Contributor

Re: rlogin slow

Hi,

there could be two reasons

1. try putting the ip host entry in both the servers
/etc/hosts

2. is the variable set or exported in your local server
is same as the remote server
like PATH or other variables ??

Regards
-Niraj
Niraj.Verma@philips.com
Roberto Volsa
Frequent Advisor

Re: rlogin slow

Hello,
thank you for your kind reply.
Host's IP are present in both servers; and at a first look variable are exported in both server.

Any other info?

Roberto
Pete Randall
Outstanding Contributor

Re: rlogin slow

Roberto,

Where is your home directory and where is your history file? I'm guessing your history file is defaulting to $HOME, which is NFS mounted. Try adding
export $HISTFILE=/tmp/.sh_history.$(whoami)
to your .profile or to /etc/profile

Pete

Pete
Roberto Volsa
Frequent Advisor

Re: rlogin slow

Hi Pete,
thanks for your interest.
My home directory is / (root); infact the problem occurs also to root user!
History file is also settes into / directory; i checked it in .profile.


Roberto
Steven E. Protter
Exalted Contributor

Re: rlogin slow

Smack me if I'm being a smart -ss.

If rlogin is slow, start using secure shell. It will be slower, but at least the protocol and encryption is secure.

According to HP's Practical Unix and Network Security Course Guide, (July 2001) / should not be the home directory of root.

change it to /root/ or /home/root/

This can be done in /etc/passwd

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tom Dawson
Regular Advisor

Re: rlogin slow

Roberto,

One caveat on moving the root's home directory to "/home/root". Only do that if /home is NOT a separate file system. This can cause problems when you go into single-user mode because /home may not be mounted.

HTH,
Tom