[Pkg-shadow-devel] Bug#528060: Can't delete user: user is currently	logged in
    Nicolas François 
    nicolas.francois at centraliens.net
       
    Mon May 11 21:48:25 UTC 2009
    
    
  
Hi,
There's already a note about it in userdel.c (user_busy), but I think it
is time to remove the check based on utmp, and check if there are
processes or tasks in /proc whose real, effective, or saved ID is the
user's ID (ditto if the group is meant to be removed).
In the mean time, I could also check if the process mentioned in the utmp
entry is still running. Or just recommend to use -f.
(I would also like to understand why I cannot reproduce your issue)
Cheers,
-- 
Nekral
    
    
More information about the Pkg-shadow-devel
mailing list