How to skip password or account expiry check when users are authenticating through key based authentication ?

Solution Verified - Updated -

Issue

  • How to skip password or account expiry check when users are authenticating through key based authentication ?

  • SSH Authentication failed because of password expiry even though key based authentication is enabled. How to skip this and make sure that user will be able to login through key based authentication even though user password is expired ?

Environment

  • Red Hat Enterprise Linux 5, 6, 7.

  • 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