Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michael K. Johnson <johnsonm@redhat.com>
Subject: Re: how to rsh/rlogin as root with PAM ?
Date: Tue, 10 Sep 1996 14:27:44 -0400	[thread overview]
Message-ID: <199609101827.OAA00738@tristan.redhat.com> (raw)

Harald Koenig writes:
>> >- with the following line in /etc/pam.conf
>> >
>> >	rlogin  auth       required     /lib/security/pam_securetty.so
>> >
>> >the first root rlogin query for a password doesn't work; login name and
>> >password have to be entred again (no problem for non-root users).
>> >without that line, entring the root password works for the first time.
>> 
>> It's probably falling through to login.  Have you disabled securetty
>> checking for login?
>
>to accept the first rlogin password only the rlogin pam_securetty setting is significant
>(or adding "tty" to /etc/securetty). it doesn't matter if login pam_securetty
>is commented out or not.

Unless you put tty in /etc/securetty, root login should fail.  With rlogin,
if authentication fails, it falls through to *login*, and login authenticates
you.  Without tty in your /etc/securetty, the securetty line in /etc/pam.conf
should keept root from loging in at that point, too.

If you've put tty in /etc/securetty, then unless rhosts *also* allows the
authentication, you will be prompted for your password by the rlogin
authentication, but it will fail anyway.  *Then* login, which doesn't do
rhosts authentication, will allow your login to succeed.

michaelkjohnson

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

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

             reply	other threads:[~1996-09-10 18:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-10 18:27 Michael K. Johnson [this message]
1996-09-10 23:50 ` how to rsh/rlogin as root with PAM ? Harald Koenig
     [not found] <Pine.LNX.3.93.960911091801.8445B-100000@redhat.com>
1996-09-11 17:59 ` Thomas Bogendoerfer
     [not found] <Pine.LNX.3.93.960910091344.22699E-100000@redhat.com>
1996-09-10 17:10 ` Harald Koenig
1996-09-11  5:29 ` Thomas Bogendoerfer
1996-09-11 13:19   ` Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1996-09-10 18:19 Michael K. Johnson
     [not found] <199609101506.LAA30938@tristan.redhat.com>
1996-09-10 17:59 ` Harald Koenig
1996-09-10 15:06 Michael K. Johnson
     [not found] <Pine.LNX.3.93.960909104628.28228J-100000@redhat.com>
1996-09-09 15:50 ` Harald Koenig
1996-09-10 13:12   ` Erik Troan
1996-09-10  4:41 ` Thomas Bogendoerfer
1996-09-10 13:14   ` Erik Troan
     [not found] <Pine.LNX.3.94.960908155253.3290A-100000@porky.redhat.com>
1996-09-09  8:23 ` Harald Koenig
1996-09-09 14:47   ` Erik Troan
1996-09-07  9:44 Harald Koenig
1996-09-08 19:53 ` Erik Troan
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