From 713a388dfc57d74ebab532b53cfa171d845fb0c9 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 22 Mar 2019 13:24:42 +0100 Subject: [PATCH] clarify chage manual page in regards to shadow and passwd inconsistency (#1686440) --- shadow-4.3.1-manfix.patch | 19 +++++++++++++++++++ shadow-utils.spec | 6 +++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/shadow-4.3.1-manfix.patch b/shadow-4.3.1-manfix.patch index 3782e55..43d5e9a 100644 --- a/shadow-4.3.1-manfix.patch +++ b/shadow-4.3.1-manfix.patch @@ -54,6 +54,25 @@ Index: shadow-4.5/man/chage.1.xml Passing the number -1 as the EXPIRE_DATE will remove an account expiration date. +@@ -233,6 +243,18 @@ + The chage program requires a shadow password file to + be available. + ++ ++ The chage program will report only the information from the shadow ++ password file. This implies that configuration from other sources ++ (e.g. LDAP or empty password hash field from the passwd file) that ++ affect the user's login will not be shown in the chage output. ++ ++ ++ The chage program will also not report any ++ inconsistency between the shadow and passwd files (e.g. missing x in ++ the passwd file). The pwck can be used to check ++ for this kind of inconsistencies. ++ + The chage command is restricted to the root + user, except for the option, which may be used by + an unprivileged user to determine when their password or account is due Index: shadow-4.5/man/ja/man5/login.defs.5 =================================================================== --- shadow-4.5.orig/man/ja/man5/login.defs.5 diff --git a/shadow-utils.spec b/shadow-utils.spec index 9d81c19..86e216f 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing accounts and shadow password files Name: shadow-utils Version: 4.6 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 2 URL: http://pkg-shadow.alioth.debian.org/ Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz @@ -241,6 +241,10 @@ done %{_mandir}/man8/vigr.8* %changelog +* Fri Mar 22 2019 Tomáš Mráz - 2:4.6-11 +- clarify chage manual page in regards to shadow and passwd + inconsistency (#1686440) + * Thu Mar 21 2019 Tomáš Mráz - 2:4.6-10 - Ignore LOGIN_PLAIN_PROMPT variable in login.defs