Do you have the rsh server installed on the computer you are trying to 
rsh to?

Have you restarted inetd or xinetd?

Here is my setup

node1
I login to node1 via ssh from the firewall
>> rsh node2

I have rshserver installed on node2 and a .rhosts file on node2 with node1 
or the IP address included in it. If I want system wide logins I use the 
/etc/hosts.equiv file on node2 with the following entry
node1 or you can also use the IP 

I should add that my /etc/hosts file include all my node entrys.

Randy

On Wed, 23 Oct 2002, Mike Boger wrote:

> Hi Randy,
> 
> Thanks for the reply. I put your entries in the /etc/pam.d/rsh and rlogin
> files and had the same results. Is there something different about
> hosts.equiv that I should know about.... I currently have a single "+" in
> it.....
> 
> Thanks,
> Mike
> ----- Original Message -----
> From: "Randy Weidman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 23, 2002 8:33 AM
> Subject: Re: hosts.equiv / .rhosts
> 
> 
> > Here is how I altered my
> > /etc/pam.d/rsh
> > and
> > /etc/pam.d/rlogin to accomplish this on a closed network
> >
> > #%PAM-1.0
> > # For root login to succeed here with pam_securetty, "rsh" must be
> > # listed in /etc/securetty.
> > auth       sufficient     /lib/security/pam_rhosts_auth.so
> > auth       required     /lib/security/pam_nologin.so
> > auth       required     /lib/security/pam_securetty.so
> > auth       required     /lib/security/pam_env.so
> > account    required     /lib/security/pam_stack.so service=system-auth
> > session    required     /lib/security/pam_stack.so service=system-auth
> > [rweidman@node2 pam.d]$ more rlogin
> > #%PAM-1.0
> > # For root login to succeed here with pam_securetty, "rlogin" must be
> > # listed in /etc/securetty.
> > auth       required     /lib/security/pam_nologin.so
> > auth       required     /lib/security/pam_securetty.so
> > auth       required     /lib/security/pam_env.so
> > auth       sufficient   /lib/security/pam_rhosts_auth.so
> > auth       required     /lib/security/pam_stack.so service=system-auth
> > account    required     /lib/security/pam_stack.so service=system-auth
> > password   required     /lib/security/pam_stack.so service=system-auth
> > session    required     /lib/security/pam_stack.so service=system-auth
> >
> >
> >
> > On Wed, 23 Oct
> > 2002, Mike Boger wrote:
> >
> > > Hello List,
> > >
> > > Can anyone give me some tips as to how to either get rid of PAM or
> disable
> > > it so my users on a trusted network can rsh to my Red Hat nodes without
> a
> > > password? I'm using NIS+ for authentication. I have several HPUX and
> Solaris
> > > boxes that I use in this capacity without a problem.....
> > >
> > > Any tips will be appreciated.
> > >
> > > Thanks,
> > > Mike
> > >
> > >
> > >
> > >
> >
> > --
> > Randy Weidman
> > Linux Systems Administrator
> > University of Missouri
> > Dept. Of Chemical Engineering
> >
> > Rhode's Law:
> > When any principle, law, tenet, probability, happening, circumstance,
> > or result can in no way be directly, indirectly, empirically, or
> > circuitously proven, derived, implied, inferred, induced, deducted,
> > estimated, or scientifically guessed, it will always for the purpose
> > of convenience, expediency, political advantage, material gain, or
> > personal comfort, or any combination of the above, or none of the
> > above, be unilaterally and unequivocally assumed, proclaimed, and
> > adhered to as absolute truth to be undeniably, universally, immutably,
> > and infinitely so, until such time as it becomes advantageous to
> > assume otherwise, maybe.
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 
> 

-- 
Randy Weidman
Linux Systems Administrator
University of Missouri
Dept. Of Chemical Engineering
 
You knew the job was dangerous when you took it, Fred.
                -- Superchicken



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to