Translated message

A translation of this page exists in English.

pam_lastlog を使用する非アクティブユーザーの lastlog レコードをクリアする方法

Solution In Progress - Updated -

Issue

  • pam_lastlog を使用している場合、一定期間非アクティブだったユーザーは、システムにログインできません。
  • pam_lastlog によって非アクティブに設定されると、ユーザーの認証が失敗します。
  • /var/log/secure に以下のようなエラーが表示されます。
Jan 21 20:45:08 server login: pam_lastlog(login:auth): user username inactive for xxx days - denied
Jan 21 20:46:29 server login: pam_lastlog(login:auth): user username inactive for xxx days - denied

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content