1833605 Members
3708 Online
110061 Solutions
New Discussion

RLOGIN HANG UP

 
Scott McDade
Frequent Advisor

RLOGIN HANG UP

I have a system that is running 10.2 and I am having problems with some of the users who are using rlogin not all users just some. What happens is they rlogin and it accepts the username and password and scrolls thru the HP-UX copyright information and hangs. They never actually get a prompt. If I do a finger I can see the login and it appears active. The other strange thing is the same user can login on the console and everything is fine. So it leads me to believe that there is a problem with the rlogin.

Has anyone seen this?


Keep it Simple!~
9 REPLIES 9
Craig Rants
Honored Contributor

Re: RLOGIN HANG UP

rlogin is a little more sensitive than other things like telnet and ssh. What happens if they use telnet instead. I would recommend using ssh in place of the r commands anyway.

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
harry d brown jr
Honored Contributor

Re: RLOGIN HANG UP

Do you have the latest patches installed for 10.20? if Not, go to IT resource home, under the title "maintenance and support" select "more...." then under PATCHING select "customized patch bundles (custom patch manager) ", and follow the instructions


live free or die
harry
Live Free or Die
Scott McDade
Frequent Advisor

Re: RLOGIN HANG UP

Craig: The is no login problem with TELNET access. Could it be a problem with /etc/exports?

Harry: I have 2 other systems configured exactly the same with all the same 10.2 bundles and they work ok. So I don't think it is a patch issue.

-Any other ideas?

-Scott
Keep it Simple!~
Sanjay_6
Honored Contributor

Re: RLOGIN HANG UP

Hi Scott,

Are the users having problem have home directories on NFS. Anything that differentiates these users from other users whose rlogin does not hang.

Try this link,

http://us-support.external.hp.com/cki/bin/doc.pl/sid=388607af1b76bef7e2/screen=ckiDisplayDocument?docId=200000050587878

Hope this helps.

Regds
Sanjay_6
Honored Contributor

Re: RLOGIN HANG UP

Hi Scott,

Here is a link on the shell, environment, profile FAQ,

http://us-support.external.hp.com/cki/bin/doc.pl/sid=388607af1b76bef7e2/screen=ckiDisplayDocument?docId=200000054089757

Hope this helps.

Regds
harry d brown jr
Honored Contributor

Re: RLOGIN HANG UP

Scott,

From the console, login. rlogin to another server and see if it dies, especially around the time the other users are experiencing issues. Also, someone else suggested using telnet - if it is an option - and I know sometimes it is not. What are the clients using to rlogin with? Are they logging in from a PC using Reflections, Exceed, xwin32, xterm?

Is it always the same users at the same time of day?

live free or die
harry
Live Free or Die
Craig Rants
Honored Contributor

Re: RLOGIN HANG UP

Scott, do these users use NFS? I didn't see anything about it in the first post. If you are concerned about it use the showmount command to tell you what the status of you NFS mounts is. Also, is inetd configured to log? (Check /var/adm/netdaemons and look for the INETD_ARGS=) if there is a -l option in there then inetd type connections are being logged to syslog.log and you should be able to see some information about their connection that way.

Also what happens if they put a .rhosts entry, sometimes those allow you to bypass problems with authenticating a user.

Just more ideas,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Roger Baptiste
Honored Contributor

Re: RLOGIN HANG UP

hi,

what''s the size of rlogin binary? This is for 10.20
-r-sr-xr-x 1 root bin 24576 Jul 22 1998 /usr/bin/rlogin

On the destination system is there a error message in syslog file ??

I have seen a similar problem once and it turned out to be related with the trusted system database not having a terminal entry for rlogins.
In case your system is a trusted system, check the /tcb structure. Also make sure you have enough pts connections (ll /dev/pts* ).

How many login sessions are currnelty running on the system?

-raj
Take it easy.
Krishna Prasad
Trusted Contributor

Re: RLOGIN HANG UP

It may be possible that when users rlogin from another hosts they do not have the correct enviornment set I.E. TERM.

Maybe add the command env > /tmp/users.env to the bottom of the .login or .profile depending on the users setup.

I would then try the login again and see if it is different when they login directly to the box then when they use rlogin. rlogin may not have the correct TERM setting.


Positive Results requires Positive Thinking