Subject: Re: rdist and ssh
To: None <netbsd-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-users
Date: 07/07/2002 09:30:29
On Sun, Jul 07, 2002 at 03:09:13AM +0000, Jim Breton wrote:
> On Sat, Jul 06, 2002 at 08:20:12PM +0100, Patrick Welche wrote:
> > I seem to be the only one moaning about rdist and RCMD_CMD=/usr/bin/ssh not
> > working - are any of you using it?
>
> $ strings /usr/bin/rdist | grep RCMD
> (nothing)
% strings /usr/lib/libc.a | grep RCMD
RCMD_CMD
> $ grep RCMD /usr/src/usr.bin/rdist/*.c
> (nothing)
% grep RCMD /usr/src/lib/libc/net/rcmd.c
* RCMD_CMD environment.
locuser, remuser, cmd, fd2p, getenv("RCMD_CMD"));
rshcmd = _PATH_BIN_RCMD;
> :(
:)
rdist(1) calls rcmd(3). rcmd(3) uses rsh by default, RCMD_CMD otherwise, to
run the command remotely..
I still don't see why the two rdist processes are waiting for each other..
Cheers,
Patrick