Operating System - HP-UX
1753934 Members
9225 Online
108810 Solutions
New Discussion юеВ

rlogin no longer works after converted to trusted system

 
SOLVED
Go to solution
Bosco Tsang
Valued Contributor

rlogin no longer works after converted to trusted system

I have convert a server to a trusted system, and have added/create the hosts.equiv file via Sam's remote login menu. However, when I tried to rlogin, it reports,

Protocol error, testing.uoguelph.ca closed connection

The protocol is there as it work before the conversion. Any idea what goes wrong, and how to fix it?
12 REPLIES 12
Charles McCary
Valued Contributor

Re: rlogin no longer works after converted to trusted system

Bosco,

couple of things to check:

1) .rhosts file
2) /etc/hosts file

Bosco Tsang
Valued Contributor

Re: rlogin no longer works after converted to trusted system

1) .rhost is there, under my home directory, but shouldn't it will ignore under trusted system?

2) /etc/hosts is there, and I am using dns server, so there is only 1 entry.
Jeff Schussele
Honored Contributor

Re: rlogin no longer works after converted to trusted system

Hi Bosco,

Check
1) /etc/inetd.conf -> make sure the rlogin line has not been commented out
2) /var/adm/inetd.sec -> make sure there are no allow/deny statements in there to prevent access from your host/subnet
3) /etc/services -> make sure the following line exists & is not commented
login 513/tcp # remote login

If all these are OK trying restarting inetd & have it reread it configuration
/sbin/init.d/inetd -c

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bosco Tsang
Valued Contributor

Re: rlogin no longer works after converted to trusted system

1) /etc/inetd.conf has login entry, not commented out
2) /var/adm/inetd.sec has login entry with correct host
3) /etc/services has login entry on port 513

Any further idea?
Sachin Patel
Honored Contributor

Re: rlogin no longer works after converted to trusted system

Hi Bosco,
Other thing to check is
/etc/hosts.equiv file

Sachin
Is photography a hobby or another way to spend $
Bosco Tsang
Valued Contributor

Re: rlogin no longer works after converted to trusted system

hosts.equiv checked, it's in order.
Charles McCary
Valued Contributor

Re: rlogin no longer works after converted to trusted system

Bosco,

can you change the names to protect the innocent and post a copy of your hosts.equiv?
Bosco Tsang
Valued Contributor

Re: rlogin no longer works after converted to trusted system

xxxx.yyy.uoguelph.ca myname

That's the only line in hosts.equiv. Thanks.
Bosco Tsang
Valued Contributor

Re: rlogin no longer works after converted to trusted system

I have just do a reboot (due to another unrelated patch install), and it suddenly works! Seems like I am doing everything correct, but inetd -c do not cause it to reread the configuration ...only reboot will do the job :( Thanks everyone.