Re: rsh when root
As an afterthought: don't forget to use the FQDN in your .rhosts (it
didn't work without it in my setup)
Ph. A.
Philippe Andersson wrote:
>
> Hello,
>
> Edit /etc/inetd.conf, look for the line that invoque rshd and modify it
> as follows:
>
> shell stream tcp nowait root /usr/sbin/tcpd in.rshd -hlL
> ^^
>
> This disables the use of ~/.rhosts *except for root* (-l) and allows
> root's rsh (-h). See man 8 in.rshd and man 3 ruserok.
>
> Hope this helps.
>
> Cheers. Bye.
>
> Ph. A.
>
> --
>
>
>
> //\\
> \\//
> ///\\\
> SCITEX
>
> /*-----------------------------------------------------------------*/
> /* Scitex Europe, S.A. | Philippe Andersson */
> /* Dreve Richelle, 161, E-F,| PC & Network Specialist */
> /* 1410 WATERLOO | philippe_andersson@ste.scitex.com */
> /* BELGIUM | +32-2-352.25.93 Fax: +32-2-352.25.84 */
> /*-----------------------------------------------------------------*/
--
//\\
\\//
///\\\
SCITEX
/*-----------------------------------------------------------------*/
/* Scitex Europe, S.A. | Philippe Andersson */
/* Dreve Richelle, 161, E-F,| PC & Network Specialist */
/* 1410 WATERLOO | philippe_andersson@ste.scitex.com */
/* BELGIUM | +32-2-352.25.93 Fax: +32-2-352.25.84 */
/*-----------------------------------------------------------------*/
Reply to: