🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #18

pam_securetty deprecated?

#18
From: jayjwa
Date: Fri, 30 Oct 2026 13:55
43 lines
2380 bytes
Context: Slackware Current, as of a couple days ago. This message in the
Changelog as per Sat Oct 24 23:50:58 UTC 2026:

a/util-linux-2.42.4-x86_64-2.txz:  Rebuilt.
  /etc/pam.d/login: don't use pam_securetty.so here. It's been deprecated for
  some time now, and it blocks root from logging in on KMSCON unless the pts
  devices are added to /etc/securetty. We'd rather not do that as it could
  expose network daemons to root login attempts.

Changelog as per Sun Oct 25 21:45:47 UTC 2026:

a/util-linux-2.42.4-x86_64-4.txz:  Rebuilt.
  /etc/pam.d/remote: restore pam_securetty.so here.
  Thanks to Petri Kaukasoina.

Given these, I have three questions:
1. Is pam_securetty truely deprecated? I see nothing in its man page
about this and I could find no link online. Given the amount of fluff in
search engines, this might be the reason. Can I get a link to this?

2. Does pam_securetty in /etc/pam.d/remote really do anything? This is
my /etc/securetty:
# This file defines which devices root can log in on.

# These are the ttys on the physical console:
console
tty1
tty2
tty3
tty4
tty5
tty6

No remote connection would ever match any of those, so why have
pam_securetty in /etc/pam.d/remote? When I telnet in (local LAN), the
tty is /dev/pts/13 . Can someone explain this and its workings?

3. What calls, or is supposed to call, /etc/pam.d/remote? 

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"
Technical Details
Message-ID: <878q3f70p6.fsf@atr2.ath.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: jayjwa <jayjwa@atr2.ath.cx.invalid>
Newsgroups: alt.os.linux.slackware
Subject: pam_securetty deprecated?
Date: Fri, 30 Oct 2026 09:55:01 -0400
Organization: Atr2 RG 2026
Message-ID: <878q3f70p6.fsf@atr2.ath.cx>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: solani.org;
	logging-data="726140"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:X6A3fNs+UTxx8NZ2NS15A1k3W2s= sha1:nkj+723wbbO2tq90EMzoVajX2ew=
X-User-ID: eJwNx8EBwEAEBMCWOKxLOYvov4RkfhMGRacj4LGxDfahAOM5j/2T26hVVNLulDpf4bqgOYcfKcUR1g==