Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Rob Zook <rzook@informix.com>
Subject: Re: rsh/rlogin
Date: Fri, 31 Oct 1997 08:26:53 -0600	[thread overview]
Message-ID: <3.0.3.32.19971031082653.034a6200@atlas> (raw)
In-Reply-To: <199710310952.LAA05826@blinky.bfr.co.il>

At 11:52 AM 10/31/97 +0200, you wrote:
>Stephen Tow writes:
> > Howdy, 
> > 
> > I have a problems that I have not been able to figure out for the life 
> > of me...
> > 
> > Why doesn't rsh/rlogin work when logged in as root? It works fine for 
> > normal users, but not for root. I'm sure this is some sort of security
> > measure, but is there some way around this? Without it it's pure hell
> > to try and propagate a common file across a dozen machines.
>
>It's a security measure.  If you figure out how to use PAM, you can
>probably figure out how to enable it.  One way around it is to nfs
>mount the dozen machines onto one machine.

In /etc/pam.d/rlogin you will find the pam file which controls rlogin
security. Disable the securetty line and you can rlogin as root:

# auth       required   /lib/security/pam_securetty.so
                          ^
Comment out this line ----+
auth       sufficient   /lib/security/pam_rhosts_auth.so
auth       required     /lib/security/pam_pwdb.so shadow nullok
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so
password   required     /lib/security/pam_pwdb.so shadow nullok use_authtok
session    required     /lib/security/pam_pwdb.so

HTH,

Rob Z.
--------------------------------------------------------
Man has such a predilection for systems and abstract deductions that
he is ready to distort the truth intentionally, he is ready to deny 
the evidence of his senses only to justify his logic.
-- Notes from Underground, Fyodor Dostoyevsky

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-10-31 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.A32.3.91.971031012531.32336A-100000@ssibm4.ssp.ameslab.gov>
1997-10-31  9:52 ` rsh/rlogin Harvey J. Stein
1997-10-31 14:26   ` Rob Zook [this message]
1997-10-31 15:45 ` rsh/rlogin Michal Jaegermann
     [not found] <199710311545.IAA10378@ellpspace.math.ualberta.ca>
1997-10-31 16:26 ` rsh/rlogin Harald Koenig
1997-10-31 15:42 rsh/rlogin Robert L. Millner
  -- strict thread matches above, loose matches on Subject: below --
1997-10-31  7:38 rsh/rlogin Stephen Tow
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox