1819957 Members
3358 Online
109607 Solutions
New Discussion юеВ

rlogind problem

 
Russell James Walicki
Occasional Contributor

rlogind problem

I can no longer rlogin to a HPUX-10.20 workstation. When attempting to do so I get the following:

on remote system:
#rlogin host1
#rlogind: Unable to allocate pty on remote host
#Connection closed.

In syslog on host1:
Error while granting access to slave pty

I have more than enough pty's configured (at 200) and all the ITRC info doesn't seem to help this case.

Any ideas?????

Additonal info that may or may not be related:

- a script was recently run to fix user uid issues and I suspect that this may have caused some ownership issues thru unexpected file ownership changes. Any help on where to look or how to check in regards to rlogind that would be appreciated.
- remsh works fine unless I omit a command to execute and it tries to rlogin
- telnet and ftp work fine
- cde on console and Xterm cde logins are behaving oddly in the fact that even though I enter the correct password for any number of users it will not log in. This may be related or not, I'm not sure.
- .rhosts are set up fine.

- Russ W
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: rlogind problem

It sounds like the script is the prime suspect for sure. Any attempt to fix permissions would require a thorough analysis of what the script did and therefore, what it may have touched. The alternative is to restore from backup.


Pete



Pete
Steven E. Protter
Exalted Contributor

Re: rlogind problem

Things to check.

pwck

This will show possible damage from the script.

grpck

Same deal.

Has the configuration of /etc/inetd.conf recently been changed.

Of course you could just go to Secure Shell, but in this instance I don't think it will make a difference.

SEP
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
Massimo Bianchi
Honored Contributor

Re: rlogind problem

Check:

cbassi@omih471:/home/cbassi>ll /dev/pty | more
total 14
drwxr-xr-x 2 bin bin 2048 Nov 15 2000 .
dr-xr-xr-x 15 bin bin 5120 May 12 15:56 ..
crw-rw-rw- 2 bin tty 17 0x000000 Nov 15 2000 ttyp0
crw-rw-rw- 2 root root 17 0x000001 Jun 17 18:26 ttyp1
crw-rw-rw- 2 root root 17 0x000002 Jun 17 18:22 ttyp2
crw-rw-rw- 2 root root 17 0x000003 Jun 12 11:17 ttyp3
crw-rw-rw- 2 root root 17 0x000004 Feb 6 12:36 ttyp4
crw-rw-rw- 2 bin tty 17 0x000005 Nov 15 2000 ttyp5
crw-rw-rw- 2 bin tty 17 0x000006 Nov 15 2000 ttyp6
crw-rw-rw- 2 bin tty 17 0x000007 Nov 15 2000 ttyp7
crw-rw-rw- 2 bin tty 17 0x000008 Nov 15 2000 ttyp8
crw-rw-rw- 2 bin tty 17 0x000009 Nov 15 2000 ttyp9
crw-rw-rw- 2 bin tty 17 0x00000a Nov 15 2000 ttypa

HTH,
Massimo