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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.