From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 06:44:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3550816A4CE for ; Fri, 19 Dec 2003 06:44:06 -0800 (PST) Received: from highland.isltd.insignia.com (highland.isltd.insignia.com [195.74.141.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C172F43D3F for ; Fri, 19 Dec 2003 06:44:03 -0800 (PST) (envelope-from subscriber@insignia.com) Received: from dailuaine.isltd.insignia.com (dailuaine.isltd.insignia.com [172.16.64.11])hBJEi2vO018672 for ; Fri, 19 Dec 2003 14:44:02 GMT (envelope-from subscriber@insignia.com) Received: from tomatin (tomatin [172.16.64.128])hBJEi26v040202 for ; Fri, 19 Dec 2003 14:44:02 GMT (envelope-from subscriber@insignia.com) From: Jim Hatfield To: freebsd-questions@freebsd.org Date: Fri, 19 Dec 2003 14:44:02 +0000 Organization: Insignia Solutions Message-ID: X-Mailer: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.38 Subject: 4.5 -> 5.1, rlogin works but rsh fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 14:44:06 -0000 I'm trying to use rdist to mirror a tree from a 4.5 machine ("speyburn") to a 5.1 machine ("banff"). So firstoff rsh has to work. This is root-to-root. I've set up the /root/.rhosts on the target 5.1 machine and also on the 4.5 machine so I can check it both ways round. Logged on as root on the 5.1 machine I can do "rsh speyburn ls" and get a listing with no problems. But the other way round I get "rshd: Login incorrect" and the auth.log file on the server shows: >Dec 19 14:36:29 banff rshd[74139]: root@speyburn as root: permission = denied (authentication error). cmd=3D'ls' But I can use "rsh banff" and I get logged on with no password prompt. It's not tcp wrappers since the hosts.allow is unchanged from the as-installed version. Both .rhosts files are rw-r--r--. It's got to be something simple but I can't see it.