Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: Re: how to rsh/rlogin as root with PAM ?
Date: Tue, 10 Sep 1996 19:10:50 +0200 (MET DST)	[thread overview]
Message-ID: <199609101807.UAA00975@ceres.tat.physik.uni-tuebingen.de> (raw)
In-Reply-To: <Pine.LNX.3.93.960910091344.22699E-100000@redhat.com>

> > if you add tty to your /etc/securetty, it doesn't fail.
> 
> Have you tried that? With rsh stdin isn't a tty at all, so I wouldn't expect
> it to ever work.

yes I've tried it and it works for both my rsh and rlogin problems.

	# grep tty /etc/pam.conf
	login   auth       required     /lib/security/pam_securetty.so
	rexec   auth       required     /lib/security/pam_securetty.so
	rlogin  auth       required     /lib/security/pam_securetty.so
	rsh     auth       required     /lib/security/pam_securetty.so

allows incoming rsh as root based on ~/.rhosts and rlogin succeeds
when entering the password for the first time.

as far as I can see adding "tty" to /etc/securetty has exactly the same
effect as commenting out the pam_securetty lines for rsh&rlogin

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

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

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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.93.960910091344.22699E-100000@redhat.com>
1996-09-10 17:10 ` Harald Koenig [this message]
1996-09-11  5:29 ` how to rsh/rlogin as root with PAM ? Thomas Bogendoerfer
1996-09-11 13:19   ` Erik Troan
     [not found] <Pine.LNX.3.93.960911091801.8445B-100000@redhat.com>
1996-09-11 17:59 ` Thomas Bogendoerfer
1996-09-10 18:27 Michael K. Johnson
1996-09-10 23:50 ` Harald Koenig
  -- 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