[Pkg-shadow-devel] Bug#528060: Can't delete user: user is currently logged in
Loïc Minier
lool at dooz.org
Sun May 10 19:40:33 UTC 2009
On Sun, May 10, 2009, Nicolas François wrote:
> Did you make changes in one of:
> /etc/login.defs
> /etc/pam.d/login
> /etc/pam.d/common-session
> (and maybe some other pam.d files)
It's an old install, I checked quickly with
pkgs=$(dlocate /etc/pam.d/ | sed 's/:.*//' | sort -u | xargs)
for p in $pkgs; do sudo debsums -c -e $pkg; done | grep etc/pam.d
and had no change in the pam.d conffiles nor in logins.defs (from
login)
I might have changed stuff in non-conffiles though; I have
pam_gnome_keyring.so in common-password and pam_ck_connector.so in
common-session.
Running ./test_utmp in the situation of the bug gives:
ut_type: 7
ut_user: foobar
ut_id: 2
ut_type: 6
ut_user: LOGIN
ut_id: 2
userdel check
user foobar is currently logged in
Cheers
--
Loïc Minier
More information about the Pkg-shadow-devel
mailing list