[Pkg-shadow-devel] Bug#778287: passwd: "userdel -f" doesn't delete logged in users

Thomas Kaehn debbugs15 at netcologne.de
Fri Feb 13 07:53:52 UTC 2015

Package: passwd
Version: 1:4.2-3
Severity: important

Dear Maintainer,

"userdel -f" doesn't delete logged in users as stated in the manual
pages and as it did in previous Debian versions.

Steps to reproduce the problem:

# useradd test
# su test &
[1] 10526
# userdel -f test
userdel: user test is currently used by process 10527
userdel: cannot open /etc/subuid

[1]+  Stopped                 su test
# id test
uid=3000(test) gid=3000(test) groups=3000(test)

I guess it's related to the subuid feature. However the file exists on
this system:

# ls -l /etc/subuid
-rw-r--r-- 1 root root 285 Feb 13 08:50 /etc/subuid

Best regards,
Thomas Kähn

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages passwd depends on:
ii  debianutils     4.4+b1
ii  libaudit1       1:2.4-1+b1
ii  libc6           2.19-13
ii  libpam-modules  1.1.8-3.1
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsemanage1    2.3-1+b1

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information

More information about the Pkg-shadow-devel mailing list