Just updated to 20.04 final release, and I'm seeing these messages in /var/log/auth.log
...
May 14 06:29:52 Satellite-E55 gdm-password]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
May 14 07:40:14 Satellite-E55 su: pam_unix(su:auth): Couldn't open /etc/securetty: No such file or directory
I looked back at a 19.10 VM, and /etc/securetty
was there. All my 20.04 systems are missing this file. Two 20.04 installations are upgrades, and one installation is a fresh install VM.
What's up with this file missing in 20.04? Should I restore a copy from 19.10?
Update #1:
The same problem occurs in 20.10, in both upgrades and fresh installs.
There is an example file that you can copy.
Here's a copy of
/etc/securetty
from a 19.10 desktop installation. Only tested for a couple of minutes, but so far/var/log/auth.log
is quiet.When placed into
/etc
the file should look like this:Here are the
/etc/securetty
contents:This is not answer. Only an initial attempt to find the correct solution.
The action mentioned at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931899#17 which is to remove
secure_nullok
[sic] (probably meaningnullok_secure
) from the line:at file
/etc/pam.d/common-auth
seems to work or at least the message is no longer displayed in/var/log/auth.log
after this change.However, looking at a new Ubuntu 20.04 installation I see that this file is similar (with
nullok_secure
present) and this system too has the same problem of displayingCouldn't open /etc/securetty
message. I tested with thelogin
command.I conclude that this is not an upgrade problem. The problem is present in new installations also.
Please comment...