How to remove password expiry in linux

Requirement :
To set never expire attribute on account password. Some applications/users are required to have same password for longer duration. This requires them to exit from system wide password expiry policy. So that those accounts can run lifetime without need of changing their passwords.
How to do it :
Check account’s current policy.
Here second line shows when password is expiring post which user will be prompted to set new password. Set password to never expire with below command
Verify changes in account. Note here in ouput, “Password expires” field changed its value to “never”.
SHARE

sangeethakumar

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment