[Pkg-shadow-devel] Bug#603315: wrongly complains about user being logged in on userdel

Michael Biebl biebl at debian.org
Fri Nov 12 21:59:56 UTC 2010

Package: passwd
Version: 1:
Severity: important
File: /usr/sbin/userdel


today I tried to purge the gdm3 package, which in postrm tries to delete
the "Debian-gdm" user it created on installation. This failed though, as
userdel wrongly complained about the user being logged in:

pluto:~# lastlog -u Debian-gdm
Username         Port     From             Latest
Debian-gdm                                 **Never logged in**
pluto:~# userdel Debian-gdm
userdel: user Debian-gdm is currently logged in

Something is clearly going wrong here.


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

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages passwd depends on:
ii  debianutils                   3.4.1      Miscellaneous utilities specific t
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libpam-modules                1.1.1-6.1  Pluggable Authentication Modules f
ii  libpam0g                      1.1.1-6.1  Pluggable Authentication Modules l
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information

More information about the Pkg-shadow-devel mailing list