chage

The configuration is stored in /etc/login.defs PASS_MAX_DAYS 90 # Maximum days before password expires PASS_MIN_DAYS 7 # Minimum days before changing password again PASS_WARN_AGE 14 # Warn users 14 days before expiration Enables to set the password expire date

Example Pasted_image_20240505083722.png

Example Pasted_image_20240505084134.png