[Pkg-shadow-devel] [PATCH] Allow deleting the group even if it is the primary group of a user

Serge Hallyn serge.hallyn at ubuntu.com
Mon Jun 15 16:12:14 UTC 2015


fwiw, I'll push this patch unless I hear an objection by tonight.

-serge

Quoting Jesse Hathaway (jesse at mbuki-mvuki.org):
> On Mon, Jun 15, 2015 at 10:10 AM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> > Seems like this would generally be a bad idea, i.e. if the policy in
> > the central location is actually broken it would be better to catch
> > this earlier rather than later, whereas if it's not broken it should
> > be possible to cause all users with that primary group to first be
> > deleted.  Since it is guarded by -f I'll say
> 
> I agree that ideally users should be removed before groups, but this allows us
> to work around configuration management systems that do not know how to do that
> correctly.



More information about the Pkg-shadow-devel mailing list