[SSSD] [PATCH] Make sss_userdel check for logged in users

Sumit Bose sbose at redhat.com
Fri Mar 19 14:30:17 UTC 2010


On Fri, Mar 19, 2010 at 10:21:20AM -0400, Simo Sorce wrote:
> On Fri, 19 Mar 2010 15:13:57 +0100
> Sumit Bose <sbose at redhat.com> wrote:
> 
> > I would return true here. Then the user can still be deleted with
> > --force, but the admin will know that he has to be careful on this
> > plattform.
> 
> Sumit,
> I disagree, it would require --force for any delete, looks like
> too much.
> 

Only on plattforms where the check is not implemented. I think people
will expect a warning if the user is logged in, so it is an unexpected
behaviour if I can delete a user who is logged in without --force.

bye,
Sumit

> Simo.
> 
> -- 
> Simo Sorce * Red Hat, Inc * New York
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/sssd-devel



More information about the sssd-devel mailing list