[Pkg-shadow-devel] Bug#525967: passwd: -w/-x report message is misleading

Valery V. Vorotyntsev valery.vv at gmail.com
Tue Apr 28 08:33:29 UTC 2009


Package: passwd
Version: 1:4.1.3.1-1
Severity: wishlist

`-w' option sets expiration warning days; `-x' sets maximum number of
days before password change.

Neither of them changes password itself. Thus the output of the following
command is misleading:

  # passwd -w 10 -x 60 root
  Password changed.

The message should be ``password: properties updated'' or something
like that. This text is semantically correct and consistent with other
messages, e.g.

  passwd: Authentication token manipulation error
  passwd: password unchanged
  passwd: password updated successfully

Thanks!

--
vvv

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages passwd depends on:
ii  debianutils                   3.0.1      Miscellaneous utilities specific t
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libpam-modules                1.0.1-9    Pluggable Authentication Modules f
ii  libpam0g                      1.0.1-9    Pluggable Authentication Modules l
ii  libselinux1                   2.0.71-1   SELinux shared libraries

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information





More information about the Pkg-shadow-devel mailing list