Introduction:
Password expiry policies are important for security, but sometimes you need to keep certain Linux user accounts active without enforcing password changes. For instance, in administrative or automation accounts like user1, frequent password expiration can disrupt services. In this guide, we’ll show you how to make a Linux user password never expire.
Step 1: Check the Current Password Expiry
Use the chage
command to see when a user’s password will expire:
Example output:
No comments:
Post a Comment