From owner-freebsd-questions Mon Sep 24 1:35:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mentat.oko.com.pl (mentat.oko.com.pl [212.160.242.177]) by hub.freebsd.org (Postfix) with ESMTP id 2296E37B408 for ; Mon, 24 Sep 2001 01:35:35 -0700 (PDT) Received: by mentat.oko.com.pl (Postfix, from userid 1000) id C536216E82; Mon, 24 Sep 2001 07:07:28 +0200 (CEST) Date: Mon, 24 Sep 2001 07:07:28 +0200 From: Marek Florianczyk To: freebsd-questions@freebsd.org Subject: rsh problem Message-ID: <20010924070728.B22806@mentat.oko.com.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Let's say I'm logged on to server1 as root. I want to log using rsh to server2, so: rsh -l some_user server2 Everything is fine and I get rlogin and password authentification but there is problem when I try to send command with rsh, and not to log in to server2: rsh -l some_user server2 cat /etc/passwd I got reply: Login incorrect Why login is incorrect when I send command and is fine when I try to log in? This is important for me, because I want to make rdump to remote machine and rdump uses rsh, and I got errors. In /etc/pam.conf there is nothing about rshd I configured /etc/hosts.equive and .rhosts for some_user on server2 like this: server1 some_user server1 is linux redhat 7 server2 is FreeBSD 4.4RC5 OpenSSH 2.3.0 that I compiled from sources. Please help Marek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message