Allow supplementary groups to be added via config file
Allow supplementary groups to be set via the /etc/default/useradd config file. Allowing an administrator to set additonal groups via the GROUPS configurable and control the default behaviour of useradd.
This commit is contained in:
@ -263,7 +263,9 @@
|
||||
intervening whitespace. The groups are subject to the same
|
||||
restrictions as the group given with the <option>-g</option>
|
||||
option. The default is for the user to belong only to the
|
||||
initial group.
|
||||
initial group. In addition to passing in the -G flag, you can
|
||||
add the option <option>GROUPS</option> to the file <filename>/etc/default/useradd</filename>
|
||||
which in turn will add all users to those supplementary groups.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Reference in New Issue
Block a user