-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useradd: SYS_USER_AUTO_GROUPS_ENAB
option
#1156
base: master
Are you sure you want to change the base?
useradd: SYS_USER_AUTO_GROUPS_ENAB
option
#1156
Conversation
Could you please explain why we want this? Isn't this another way of having an empty GROUPS list? Why not have an empty GROUPS list instead? (I'm not sure I liked the GROUPS list in the first place.) |
Or, for example, only But at this moment, it works so that when creating a system user via Therefore, this new option was created, which allows maintainers to disable auto-addition of additional groups for system users. |
Since you are the original author of this functionality and you don't know the case, why don't you filter the group membership addition for non-system users instead of creating a new option? I think that would be the most sensible approach. |
Because I am not original author of this functionality. So, that's why I suggest this option, which will keep the possibility of the original behavior (when these groups automatically adds to system users). P.S But in general, with the option, it seems to me a more flexible. I mean, the |
Ups sorry, I have mixed up the names. @AZaugg any opinion on the following topic?
|
f8867a7
to
cea62ec
Compare
cea62ec
to
020334c
Compare
020334c
to
d4cf7a6
Compare
A new
SYS_USER_AUTO_GROUPS_ENAB
option in/etc/login.defs
that control whether supplementary groups are automatically added for the system user that is created via the-r
flag.Default value is
no
, so groups from theGROUPS
parameter from the/etc/default/useradd
file are not added automatically for the system user.Related to: #586