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

Jesse Hathaway jesse at mbuki-mvuki.org
Mon Jun 15 15:36:46 UTC 2015


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