From: Alejandro Colomar Date: Wed, 19 Feb 2025 17:46:18 +0000 (+0100) Subject: man/: Consistently express dates in standard format X-Git-Tag: 4.18.0-rc1~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74aec5b7ea7cef7725bc7b8fafc50699926924c2;p=thirdparty%2Fshadow.git man/: Consistently express dates in standard format Signed-off-by: Alejandro Colomar --- diff --git a/man/chage.1.xml b/man/chage.1.xml index b58011185..d7bf56ac8 100644 --- a/man/chage.1.xml +++ b/man/chage.1.xml @@ -75,7 +75,7 @@ - Set the number of days since January 1st, 1970 when the password + Set the number of days since 1970-01-01 when the password was last changed. The date may also be expressed in the format YYYY-MM-DD (or the format more commonly used in your area). If the LAST_DAY is set to @@ -90,7 +90,7 @@ - Set the date or number of days since January 1, 1970 on which the + Set the date or number of days since 1970-01-01 on which the user's account will no longer be accessible. The date may also be expressed in the format YYYY-MM-DD (or the format more commonly used in your area). A user whose account is locked must @@ -102,7 +102,7 @@ in 180 days: - chage -E $(date -d +180days +%Y-%m-%d) + chage -E $(date -d +180days +%F) Passing the number -1 as the diff --git a/man/passwd.1.xml b/man/passwd.1.xml index a407f10b7..e286079f9 100644 --- a/man/passwd.1.xml +++ b/man/passwd.1.xml @@ -229,7 +229,7 @@ still be able to login using another authentication token (e.g. an SSH key). To disable the account, administrators should use usermod --expiredate 1 (this sets - the account's expire date to Jan 2, 1970). + the account's expire date to 1970-01-02). Users with a locked password are not allowed to change their diff --git a/man/shadow.5.xml b/man/shadow.5.xml index cec697058..e06598687 100644 --- a/man/shadow.5.xml +++ b/man/shadow.5.xml @@ -105,7 +105,7 @@ The date of the last password change, expressed as the number - of days since Jan 1, 1970 00:00 UTC. + of days since 1970-01-01 00:00:00 UTC. The value 0 has a special meaning, which is that the user @@ -200,7 +200,7 @@ The date of expiration of the account, expressed as the number - of days since Jan 1, 1970 00:00 UTC. + of days since 1970-01-01 00:00:00 UTC. Note that an account expiration differs from a password