[Pkg-shadow-devel] Bug#706003: passwd: usermod -o requires -u

Tollef Fog Heen tfheen at debian.org
Tue Apr 23 12:15:28 UTC 2013

Package: passwd
Version: 1:
Severity: normal

Between 4.14.2 and, usermod changed so that you need to provide
the uid of a non-unique user when changing the password.  Previously,
you could do:

usermod -p '$hash' -o root

and it would work, now you need to do -o root -u 0, which seems

Could this be fixed, please?

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=nb_NO.utf8, LC_CTYPE=nb_NO.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages passwd depends on:
ii  debianutils     4.3.2
ii  libc6           2.17-0experimental0
ii  libpam-modules  1.1.3-7.1
ii  libpam0g        1.1.3-7.1
ii  libselinux1     2.1.9-5
ii  libsemanage1    2.1.6-6

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

More information about the Pkg-shadow-devel mailing list