From owner-freebsd-net Thu Jun 4 01:23:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26307 for freebsd-net-outgoing; Thu, 4 Jun 1998 01:23:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from arthur.axion.bt.co.uk (arthur.axion.bt.co.uk [132.146.5.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA26276 for ; Thu, 4 Jun 1998 01:23:24 -0700 (PDT) (envelope-from graeme.brown@bt-sys.bt.co.uk) Received: from rambo (actually rambo.futures.bt.co.uk) by arthur.axion.bt.co.uk (PP) with SMTP; Thu, 4 Jun 1998 09:16:10 +0100 Received: from maczebedee (actually macsmtp) by rambo with SMTP (PP); Thu, 4 Jun 1998 09:17:48 +0100 Message-ID: Date: 4 Jun 1998 09:17:18 +0100 From: Graeme Brown Subject: Using rsh under FreeBSD To: "FreeBSD-Net (FreeBSD.Org) List" X-Mailer: Mail*Link SMTP for Quarterdeck Mail; Version 4.0.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi FreeBSD-netters I am debugging a multicast routeing protocol under FreeBSD and would like to simultaneously start the m/c routing demon in question on several FreeBSD routers at once. The demon has to run with root privileges. I would like to do something along the lines of i) logging in to one FreeBSD router (as root) ii) run a shell script which starts the demon on the local router and then issues rsh commands to the other routers in the test network to start up their routeing demons. I am however tripping up over rsh permissions etc. I have tried to set up an /.rhosts on router2 with the line router1 root so that router1 can issue a rsh command directed to router2 with root privileges something like rsh -l root router2 "run demon command" but I get permission denied messages each time. I also tried /etc/hosts.equiv with the same line. Can anyone point me in the right direction to get something like this working ? TIA Graeme Brown BT Labs, UK email: graeme.brown@bt-sys.bt.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message