Subject: Re: Setting up rcmd
To: Domingo A. Siliceo <dsiliceo@sedcatala.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/11/2004 00:27:58
On Sun, Oct 10, 2004 at 06:06:07PM +0200, Domingo A. Siliceo wrote:
> Hello,
> I'm trying to use rcmd to make some backups. To do this, I've created
> the '$HOME/.rhosts' file in the client with the content
> 
>     #
>     #
>     
>     192.168.0.2    root
> 
> In the server and in the client, I've modified the '/etc/hosts.equiv'
> file whith the content
> 
>     #
>     #
> 
>     localhost
>     192.168.0.2
>     192.168.0.10

This should not be needed, ~/.rhosts should be enouth

> 
> But when I try the command 'rcmd acer ls' being root I get the message
> 'acer.sedcatala.org: Connection refused'
> 
> Server is 192.168.0.2 and client is 192.168.0.10. Both are declared in
> /etc/hosts int both machines.
> 
> What am I doing wrong?

Make sure rshd is enabled in /etc/inetd.conf

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--