Bug#931899: login: still tries to open /etc/securetty

2019-07-15 Thread m . alfaeko
Package: login
Version: 1:4.7-1
Followup-For: Bug #931899

Hi

I found where is /etc/securetty referenced. Its referenced in config file 
/etc/pam.d/common-auth
on line specifing pam_unix. Just remove secure_nullok and the log message wont 
appear again.
Ofcourse someone should test this to be sure its the right solution.

Thank You

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages login depends on:
ii  libaudit1   1:2.8.4-3
ii  libc6   2.28-10
ii  libpam-modules  1.3.1-5
ii  libpam-runtime  1.3.1-5
ii  libpam0g1.3.1-5

login recommends no packages.

login suggests no packages.

-- no debconf information



Bug#931899: login: still tries to open /etc/securetty

2019-07-12 Thread Sven Joachim
Package: login
Version: 1:4.7-1

According to the Debian changelog, login has stopped honoring
/etc/securetty, but journalctl shows that it complains about the now
missing file:

,
| Jul 12 08:47:31 turtle login[1039]: pam_unix(login:auth): Couldn't open 
/etc/securetty: No such file or directory
| Jul 12 08:47:34 turtle login[1039]: pam_unix(login:auth): Couldn't open 
/etc/securetty: No such file or directory
| Jul 12 08:47:34 turtle login[1039]: pam_unix(login:session): session opened 
for user sven by LOGIN(uid=0)
| Jul 12 08:47:34 turtle systemd-logind[419]: New session 1 of user sven.
`

So why does login still try to open /etc/securetty?


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages login depends on:
ii  libaudit1   1:2.8.5-1
ii  libc6   2.28-10
ii  libpam-modules  1.3.1-5
ii  libpam-runtime  1.3.1-5
ii  libpam0g1.3.1-5

login recommends no packages.

login suggests no packages.

-- no debconf information