Skip site navigation (1)Skip section navigation (2)
Date:      4 Jun 1998 09:17:18 +0100
From:      Graeme Brown <graeme.brown@bt-sys.bt.co.uk>
To:        "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@FreeBSD.ORG>
Subject:   Using rsh under FreeBSD
Message-ID:  <n1315170742.17217@maczebedee>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n1315170742.17217>