My Ubuntu is 20.04.1.
When I access it with ssh, there is a strange log in /var/log/auth.log
.
Dec 31 18:37:55 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty:There is no such file or directory
Dec 31 18:37:57 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty:There is no such file or directory
Jan 1 15:25:36 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty:There is no such file or directory
Jan 1 15:25:40 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty:There is no such file or directory
Jan 1 15:25:41 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty:There is no such file or directory
https://askubuntu.com/questions/1239503/ubuntu-20-04-and-20-10-etc-securetty-no-such-file-or-directory
sudo cp /usr/share/doc/util-linux/examples/securetty /etc/securetty
I wonder if I have to copy it.
Recommended Posts