From e98c0cd1f3c677012e79be8102ea2fa7c0a53650 Mon Sep 17 00:00:00 2001 From: yaoguangzhong Date: Thu, 22 Dec 2022 22:59:48 +0800 Subject: [PATCH] set PASS_MAX_DAYS from 99999 to 90 category: bugfix bugzilla: https://gitee.com/src-openeuler/shadow/issues/I675NW#note_15310314 Signed-off-by: Guangzhong Yao --- shadow-utils.login.defs | 2 +- shadow.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shadow-utils.login.defs b/shadow-utils.login.defs index 1a04a8d..d2ad029 100644 --- a/shadow-utils.login.defs +++ b/shadow-utils.login.defs @@ -128,7 +128,7 @@ UMASK 077 # PASS_MIN_LEN Minimum acceptable password length. # PASS_WARN_AGE Number of days warning given before a password expires. # -PASS_MAX_DAYS 99999 +PASS_MAX_DAYS 90 PASS_MIN_DAYS 0 PASS_MIN_LEN 5 PASS_WARN_AGE 7 diff --git a/shadow.spec b/shadow.spec index 18f59ef..f61ee4f 100644 --- a/shadow.spec +++ b/shadow.spec @@ -1,6 +1,6 @@ Name: shadow Version: 4.9 -Release: 7 +Release: 8 Epoch: 2 License: BSD and GPLv2+ Summary: Tools for managing accounts and shadow password files @@ -215,6 +215,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.la %{_mandir}/*/* %changelog +* Thu Dec 22 2022 yaoguangzhong - 2:4.9-8 +- set PASS_MAX_DAYS from 99999 to 90 + * Sat Dec 17 2022 ExtinctFire - 2:4.9-7 - chpasswd fix function problem with R parameter -- Gitee