Hi,

This warning also appear on my system when login is attempted
through various programs (login, su, gdm-password, ..).

Oct 06 12:37:30 XXX login[9367]: pam_unix(login:auth): Couldn't open
/etc/securetty: No such file or directory
Oct 06 12:37:40 XXX su[9383]: pam_unix(su:auth): Couldn't open
/etc/securetty: No such file or directory
Oct 06 12:37:56 XXX gdm-password][9612]: pam_unix(gdm-password:auth):
Couldn't open /etc/securetty: No such file or directory

Note someone also reported this as a login bug. This was closed since
this seems to originate from libpam so "there is nothing login can do
about that".
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931899

So it would be good to address this within libpam-runtime.

A quick look at the implementation shows the file is written by perl
script /usr/sbin/pam-auth-update, using a template from
/usr/share/pam-configs/unix

ii  debconf        1.5.73
ii  libpam-runtime 1.3.1-5
ii  login          1:4.7-2

Guillaume

Reply via email to