Hi,
Have you tried using ssh (or openssh) instead of rsh? You can then add the
authorized keys to ~root/.ssh/authorized_keys and login without requiring a
password.
Venkatesh
>
> I am able to rlogin, rsh and rdist with out prompting password after adding
> the following line as the first line in the files /etc/pam.d/rlogin and
> /etc/pam.d/rsh
>
> auth sufficient /lib/security/pam_rhosts_auth.so hosts_equiv_rootok
> promiscuous no_rhosts
>
> However I need to use root account to do rdist with out prompting password
> .
> My question is what do I do to use the r'commands for root with out
> password.
> and I know it is affects the security.
>
> Thanks
> Murugan
>
> ----- Original Message -----
> From: "Vilius Puidokas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 30, 2000 4:14 PM
> Subject: Re: rdist & rsh problem
>
>
> > is .rhosts -rw-r----- ?
> > as far as i remmember it was required.
> >
> > > Murugan Krishnan wrote:
> > >
> > > Hi I am trying to configure the rdist
> > >
> > > Looks like rdist uses rsh to copy the files.
> > >
> > > when I try rsh it asks for the password .
> > > I want to do rsh, rlogin or rcp with out entering the password. I am
> > > keeping the passwords same at both systems.
> > > I have the following setup
> > > /etc/hosts.allow ALL: ALL
> > > /etc/hosts.equiv +
> > > .rhosts +
> > > Still I am prompted for the password. what am I doing wrong ?
> > > Appreciate your help.
> > >
> > > Murugan Krishnan
> > > Unix Systems Support
> >
> > vilius.
> >
> > --
> > To unsubscribe:
> > mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> >
> >
>
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null