[Pkg-shadow-devel] Bug#467488: passwd: adduser/deluser does now work without shadow

Christian Henz chrhenz at gmx.de
Mon Feb 25 20:58:37 UTC 2008

Package: passwd
Version: 1:4.1.0-2
Severity: normal

I could not add/remove a user to/from a group:

# LANG=C deluser chenz video
Removing user `chenz' from group `video' ...
gpasswd: can't open shadow file
/usr/sbin/deluser: `/usr/bin/gpasswd -M  video' returned error code 1. Exiting

gpasswd quit because it failed to open "/etc/gshadow".

It worked after I turned shadow on ("shadowconfig on").

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

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages passwd depends on:
ii  debianutils                   2.28.4     Miscellaneous utilities specific t
ii  libc6                         2.7-8      GNU C Library: Shared libraries
ii  libpam-modules       Pluggable Authentication Modules f
ii  libpam0g             Pluggable Authentication Modules l
ii  libselinux1                   2.0.35-1   SELinux shared libraries
ii  login                         1:4.1.0-2  system login tools

passwd recommends no packages.

-- debconf information:
  passwd/make-user: true
  passwd/shadow: true

More information about the Pkg-shadow-devel mailing list