[HPADM] Difficult time with remsh/rcp/rlogin

From: Anil Rajapure (anil_unix1975@yahoo.com)
Date: Tue Sep 03 2002 - 08:17:07 EDT


I am trying rcp/rlogin/remsh from one HP box to other. But I am getting remshd: login incorrect message. The user name is toor with UID 0 & GID 0
I have set up the following.
1 .rhosts(in home directory of toor) of each server. Home dir is / for toor user on both servers.
.rhosts files are as follows
on host A it is ---> hostb toor
on host B it is ----> hosta toor
permissions on .rhosts files are 644
2 /etc/indetd.conf is as follows on both servers.
shell stream tcp nowait root /usr/lbin/remshd remshd
# The standard remshd and rlogind do not include the Kerberized
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
3 hostname lookup with ip address and hostname is perfectly fine.
4 no restictions have been put in /var/adm/inetd.sec
5 /etc/hosts.equiv contains + on both systems.(Though this is not required)
6 hosta running on 11.11 and hostb running on 11.00
7 I am not using trusted passwords.
8 pwck,grpck returns no error.
After all this if I do remsh it asks for password. rcp gives remshd:login incorrect message.
What else I can check?
I am in a loop now
Thanks in advance
Regards,

---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:19 EDT