How To Apply Password Policy In Linux

Опубликовано: 05 Июль 2026
на канале: TPC
766
21

Apply password policy
set date of last password change to LAST_DAY
set account expiration date to EXPIRE_DATE
display this help message and exit
set password inactive after expiration to INACTIVE
show account aging information
set minimum number of days before password change to MIN_DAYS
set maximum number of days before password change to MAX_DAYS
set expiration warning days to WARN_DAYS

Last password change
Password expires
Password inactive
Account expires
Minimum number of days between password change
Maximum number of days between password change
Number of days of warning before password expires