Operating System - HP-UX
1832535 Members
7538 Online
110043 Solutions
New Discussion

Re: rlogin works remsh does not from one server

 
Martin Munden_1
New Member

rlogin works remsh does not from one server

Several threads on this but nothing matching my setup

I have 2 servers one with local password file (Server A) the other has NIS password (this is the NIS master) (server B) The .rhosts file is in NFS dir exported to both servers, with 644 file perms and owned by correct UID.

I can rlogin to each server, on the B server I can remsh to the A, but on A I can not remsh to B. Error is Incorrect password

I have checked /etc/services, /etc/inetd.conf and they look ok both sides.
3 REPLIES 3
Peter Nikitka
Honored Contributor

Re: rlogin works remsh does not from one server

Hi Martin,

- IMHO ~/.rhosts should have mode 600 .
- rlogin uses rlogind, rsh on SUN uses rshd (having no HP at hand, I assume remsh uses either rshd or something like remshd), so check for correct entries in /etc/inetd.conf and /etc/services.

What does happen, if you execute remsh without command specification:
remsh otherhost

From the user's view it should behave like rlogin.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Pete Randall
Outstanding Contributor

Re: rlogin works remsh does not from one server

Are the passwords the same in NIS and local password file?


Pete

Pete
Martin Munden_1
New Member

Re: rlogin works remsh does not from one server

remsh on its own worked...therefore

problem was in /etc/inetd.conf , entry for shell was incorrect ended in remsh -l , the -l was causing the messaqge login incorrect...


thanks for the pointers