From owner-freebsd-questions@FreeBSD.ORG Thu Feb 15 04:39:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD5CE16A400 for ; Thu, 15 Feb 2007 04:39:18 +0000 (UTC) (envelope-from atmblr@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6BAED13C478 for ; Thu, 15 Feb 2007 04:39:18 +0000 (UTC) (envelope-from atmblr@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so39144ugh for ; Wed, 14 Feb 2007 20:39:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nwEhBsjeTibMQrBRDj5lW2k5oajxjjwxcaT/C3UL7n/HXCzhIaupKHj236k2B/5i8VbycVcD1z0L5XLUPuJ6Y8KwR11LfDU4rIfwHnhdLAmrR5Iz0OUZ/qrgLXVSlAcPMHxHa09pQKMGPMK4RTwrN68kIdi9ZZrHcgMquRY1Tyc= Received: by 10.78.178.5 with SMTP id a5mr364459huf.1171512805058; Wed, 14 Feb 2007 20:13:25 -0800 (PST) Received: by 10.78.11.17 with HTTP; Wed, 14 Feb 2007 20:13:24 -0800 (PST) Message-ID: Date: Thu, 15 Feb 2007 09:43:24 +0530 From: "Ashok TM" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Automatic rsh login to BSD Box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 04:39:18 -0000 Hi I have 2 BSD boxes, want to acheive automatic rsh login from one BSD box to other. I tried placing host name of the boxes in .rhosts file of the boxes under ~root directory. This works fine with user account and I am able to remotely execute commands on the other box with rsh. Eg: == rsh bsd2 df bsd2 - host df - command But with super user account , i get error as rshd: Login incorrect. which basically is * Login incorrect.* No password file entry for the user name existed or the authentication procedure described above failed.Though i have password file entry of root in each of the BSD boxes ~atm