[Pkg-shadow-devel] Bug#304542: passwd: add to chage man page how to remove account expiration

Federico Grau Federico Grau <grauf@rfa.org>, 304542@bugs.debian.org
Wed, 13 Apr 2005 16:55:54 -0400


This is a multi-part MIME message sent by reportbug.

--===============2079854160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: passwd
Version: 1:4.0.3-31sarge1
Severity: minor
Tags: patch


It would be good if the man page for chage documented how to remove the
expiration from an account.  I have a simple patch attached with a
suggested change.

donfede


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.6-rfasub105-0
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages passwd depends on:
ii  libc6                   2.3.2.ds1-20     GNU C Library: Shared libraries an
ii  libpam-modules          0.76-22          Pluggable Authentication Modules f
ii  libpam0g                0.76-22          Pluggable Authentication Modules l
ii  login                   1:4.0.3-31sarge1 system login tools

-- debconf information:
  passwd/password-mismatch:
* passwd/username: rzewnickie
  passwd/password-empty:
  passwd/make-user: true
  passwd/md5: false
  passwd/shadow: true
  passwd/username-bad:
* passwd/user-fullname: Eric Dantan Rzewnicki

--===============2079854160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="chage.1.diff"

--- man/chage.1_ORG	2005-04-13 14:45:33.000000000 -0400
+++ man/chage.1	2005-04-13 15:01:27.000000000 -0400
@@ -71,6 +71,8 @@
 which the accounted is locked.
 The date may also be expressed in the format YYYY-MM-DD (or the format more
 commonly used in your area).
+Passing the number -1 as the \fIexpiredate\fR will remove an accounts
+expiration date.
 A user whose account is locked must contact the system administrator before
 being able to use the system again.
 .PP

--===============2079854160==--