[3937] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: PAM- rsh/root

daemon@ATHENA.MIT.EDU (Michael K. Johnson)
Mon Nov 11 17:55:10 1996

To: redhat-list@redhat.com
From: "Michael K. Johnson" <johnsonm@redhat.com>
In-reply-to: Your message of "11 Nov 1996 20:59:58 +0100."
             <m3bud4xv0h.fsf@bagend.stud.ntnu.no> 
Date: Mon, 11 Nov 1996 17:41:07 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Trond Eivind Glomsr d writes:
>Is it possible via pam to allow root to rsh on localhost only?

Sure.  Remove pam_securetty.so from our rsh authorization:
# rsh authorization
rsh     auth       required     /lib/security/pam_rhosts_auth.so
rsh     auth       required     /lib/security/pam_nologin.so
rsh     account    required     /lib/security/pam_unix_acct.so
rsh     session    required     /lib/security/pam_unix_session.so

And then in /root/.rhosts list only
localhost	root
and "chmod 600 /root/.rhosts"

I don't think I've left out any steps there...

michaelkjohnson

"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post