Was sind "Grenzwerte für das Altern von Passwörtern"?


3

Es scheint, als ob Passwortalterungslimit für die regelmäßige Änderung des Passworts verantwortlich ist. Aber meine Fragen sind:

  1. Was genau ist das und welches Passwort ändert es?
  2. Wie kann ich es so konfigurieren, dass das Passwort regelmäßig geändert wird, beispielsweise jede Woche?

Beachten Sie bei Bedarf, dass ich Ubuntu 12.10

verwende
7

It is probaly called "password age limit". You can set it with the x option from passwd

passwd -x 7 $USER

will force you to issue a new password for the current user every 7 days.


From the manual

-x, --maxdays MAX_DAYS

Set the maximum number of days a password remains valid. After MAX_DAYS, the password is required to be changed.


3

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


0

The PASS_MAX_DAYS parameter in /etc/login.defs allows you to force passwords to expire once they reach a defined age. It is recommended that the PASS_MAX_DAYS parameter be set to less than or equal to 90 days.