[Pkg-shadow-devel] Bug#528060: Can't delete user: user is currently logged in

Nicolas François nicolas.francois at centraliens.net
Sun May 10 18:52:33 UTC 2009


Hi,

On Sun, May 10, 2009 at 06:40:51PM +0200, Nicolas François wrote:
> 
> On Sun, May 10, 2009 at 05:29:28PM +0200, lool at dooz.org wrote:
> > 
> >  Following these steps, I systematically am prevented to deluser foobar:
> >  - on tty1 as root, adduser foobar, password foo
> >  - on tty2, login as foobar/foo, then ^D to logout
> >  - on tty1 as root, deluser foobar:
> >     Removing user `foobar' ...
> >     Warning: group `foobar' has no more members.
> >     userdel: user foobar is currently logged in
> >     /usr/sbin/deluser: `/usr/sbin/userdel foobar' returned error code 8. Exiting.
> 
> I cannot reproduce it.
> 
> I just remember already reading about this kind of bug, so it would be
> nice to have more information.

Here is where I've already read a report of such failure:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/239449

Best Regards,
-- 
Nekral





More information about the Pkg-shadow-devel mailing list