Setting maxlogins in /etc/security/limits.conf fails to clean /var/run/utmp in RHEL 6

Solution In Progress - Updated -

Issue

  • When maxlogins is configured in /etc/security/limits.conf, the system fails to cleanup /var/run/utmp. This prevents users that do not have any processes open on the system from logging in.

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • pam

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