I found by myself. To configure the rsh server machine to accept rsh from
the root user of a client machine you need to edit 3 files. Say the rsh
client machine is called client.company, for each file, add a line:

- /etc/hosts.equiv:
client.company

- /root/.rhosts:
client.company

Also, it´s good to "chmod 600 /root/.rhosts".

- /etc/securetty:
rsh

That´s all.
bnegrao



----- Original Message ----- 
From: "Bruno Negrão" <[EMAIL PROTECTED]>
To: "redhat general" <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 4:49 PM
Subject: howto configure rshd?


> Hi all,
>
> How to configure rshd? ( i´ve already read the rshd man page but i still
> can´t make it work).
> When I try to connect the server from the client, i receive the message:
> "connection refused".
>
> I couldn´t understand how the files hosts.equiv and .rhost are related.
>
> I want to give root access from this client host and i already started
rshd
> with the -h option on the server.
>
> What am I missing?
>
> Thanks,
> Bruno Negrao.
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to