From owner-freebsd-questions Wed Oct 9 16:02:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA15944 for questions-outgoing; Wed, 9 Oct 1996 16:02:21 -0700 (PDT) Received: from MediaCity.com (root@easy1.mediacity.com [205.216.172.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA15937 for ; Wed, 9 Oct 1996 16:02:19 -0700 (PDT) Received: (from brian@localhost) by MediaCity.com (8.6.11/8.6.9) id PAA29757 for freebsd-questions@freebsd.org; Wed, 9 Oct 1996 15:58:20 -0700 From: Brian Litzinger Message-Id: <199610092258.PAA29757@MediaCity.com> Subject: rsh ... permission denied oddity To: freebsd-questions@freebsd.org Date: Wed, 9 Oct 1996 15:58:20 -0700 (PDT) Reply-To: brian@MediaCity.com X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk a user on an NT machine is running as user Administrator on this NT machine and trying to rsh over to one of our machines. In the logs I get the message Oct 9 15:48:59 easy1 rshd[29176]: Administrator@b52.a-concept.com as aconcept: permission denied. cmd='/usr/sbin/sendmail -qRa-concept.com' In ruserok(3) it says Zero (success) is returned if ... the host and re- mote user name are found in the ``.rhosts'' file How does one specify the host and remote user name in the .rhosts file? I've only every put the host in and can't find a reference for the format of the .rhosts file. if the user comes in as 'aconcept@b52.a-concept.com as aconcept' it works fine, but fails in the case listed above. Thanks in advance, -- Brian Litzinger Powered by FreeBSD http[s]://www.mpress.com