From owner-freebsd-questions Wed Nov 27 05:35:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA19917 for questions-outgoing; Wed, 27 Nov 1996 05:35:29 -0800 (PST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA19908 for ; Wed, 27 Nov 1996 05:35:25 -0800 (PST) From: af@biomath.jussieu.fr Received: from mekong.biomath.jussieu.fr (mekong.biomath.jussieu.fr [134.157.72.87]) by shiva.jussieu.fr (8.8.3/jtpda-5.2) with SMTP id OAA08911 ; Wed, 27 Nov 1996 14:14:32 +0100 (MET) Received: from garfield.biomath.jussieu.fr (garfield) by mekong.biomath.jussieu.fr (5.67b/jn930126+af960928(mailhost)) at Wed, 27 Nov 1996 14:14:11 +0100 Received: from (af@localhost) by garfield.biomath.jussieu.fr (8.7.5/jtpda-5.2) id OAA03214 ; Wed, 27 Nov 1996 14:14:10 +0100 (GMT-1) Message-Id: <199611271314.OAA03214@garfield.biomath.jussieu.fr> Subject: Re: your mail To: joshua@main.univers.chernovtsy.ua (Charlie Luck) Date: Wed, 27 Nov 1996 14:14:10 +0100 (GMT-1) Cc: questions@freebsd.org In-Reply-To: <199611271410.OAA07508@main.univers.chernovtsy.ua> from Charlie Luck at "Nov 27, 96 02:10:13 pm" X-Mailer: ELM [version 2.4ME+ PL19 (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 Charlie Luck wrote / a ecrit: > Subject: Rshd doesn't want to allow executing commands > > I have 2 freebsd_2.1.0 machines in a lan, connected via ethernet. > Lets call them 'aaa' and 'bbb'. > > Assume that login names on 'aaa' and 'bbb' are: > user1 and user2 accordingly. > > I would like to execute a command on 'bbb' as user2, being logged in on 'aaa' > as user1. > > I created .rhosts on 'bbb', in the home directory of user2, containing: > > user1@aaa I'm pretty sure that the syntax in .rhosts actually is: aaa user1 I couldn't find the relevant man page on mt FreeBSD system though. _Alain_ -- Alain FAUCONNET Ingenieur systeme - System Manager AP-HP/SIM Public Health 91 bld de l'Hopital 75013 PARIS FRANCE Medical Computing Research Labs Mail: af@biomath.jussieu.fr Tel: (+33) (0)1-40-77-96-19 Fax: (+33) (0)1-45-86-80-68 I've RTFMed. It says: "Refer to your system administrator" But... I *am* the system administrator :-]