Comment 14 for bug 1729357

Revision history for this message
Aleksa Sarai (cyphar) wrote :

Serge: I will submit a patch later today. However, I just thought that it's probably better that "allow_setgroups" should be "ignore_setgroups" and we retain the current behaviour (we don't write anything to /proc/$pid/setgroups) -- which allows a user (or runtime) to explicitly disable setgroups even if they would normally have the right to use setgroups.

Does that sound okay to you? I will make the default ignore_setgroups, but IMO we should change the default for `useradd` to (by default) set deny_setgroups.