4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Couldn't open /etc/securetty

Posted at

当方のUbuntuは20.04.1です。
sshでアクセスすると/var/log/auth.logに変なログが。

Dec 31 18:37:55 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty: そのようなファイルやディレクトリはありません
Dec 31 18:37:57 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty: そのようなファイルやディレクトリはありません
Jan  1 15:25:36 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty: そのようなファイルやディレクトリはありません
Jan  1 15:25:40 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty: そのようなファイルやディレクトリはありません
Jan  1 15:25:41 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty: そのようなファイルやディレクトリはありません

sudo cp /usr/share/doc/util-linux/examples/securetty /etc/securetty

コピーしないといかんのはどうかと思う。

4
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?