Friday, May 10, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7724  / 1 Year ago, tue, november 29, 2022, 4:48:09

It seems like password aging limit is responsible for regular change of password.But my questions are,




  1. What exactly it is and which password does it change?

  2. How can I configure it to change the password regularly, say every week.



If necessary, note that I use Ubuntu 12.10


More From » user-management

 Answers
0

Password aging is a mechanism that allows the system to enforce a
certain lifetime for passwords. While this may be moderately
inconvenient for users, it ensures that passwords are changed
occasionally, which is a good security practice. Most Linux
distributions do not enable password aging by default, but it's very
easy to enable.




By editing /etc/login.defs, you can specify a few parameters to set the default settings for password aging:



PASS_MAX_DAYS   99999
PASS_MIN_DAYS 0
PASS_WARN_AGE 7


change These values as you want. change 9999 to 7 to enforce all users to change their password every 7 days.



source


[#26879] Wednesday, November 30, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
whipstder

Total Points: 189
Total Questions: 110
Total Answers: 99

Location: Uzbekistan
Member since Sat, Feb 27, 2021
3 Years ago
whipstder questions
Wed, Nov 9, 22, 09:45, 2 Years ago
Tue, Sep 14, 21, 10:54, 3 Years ago
Sun, May 28, 23, 03:52, 1 Year ago
Sat, Jul 17, 21, 07:10, 3 Years ago
;