Section: File Formats (5)
Updated: Version 3.113+nmu3
The file /etc/adduser.conf contains defaults for the programs adduser?(8) , addgroup?(8) , deluser?(8) and delgroup?(8). Each line holds a single value pair in the form option = value. Double or single quotes are allowed around the value, as is whitespace around the equals sign. Comment lines must have a hash sign (#) in the first column.
The valid configuration options are:
:NAME_REGEX <DD CLASS="c2|User and group names are checked against this regular expression. If the name doesn't match this regexp, user and group creation in adduser is refused unless --force-badname is set. With --force-badname set, only weak checks are performed. The default is the most conservative ^[a-z][-a-z0-9]*$.:
:SKEL_IGNORE_REGEX <DD CLASS="c2|Files in /etc/skel/ are checked against this regex, and not copied to the newly created home directory if they match. This is by default set to the regular expression matching files left over from unmerged config files (dpkg-(old|new|dist)).:
:ADD_EXTRA_GROUPS <DD CLASS="c2|Setting this to something other than 0 (the default) will cause adduser to add newly created non-system users to the list of groups defined by EXTRA_GROUPS (below).:
:EXTRA_GROUPS <DD CLASS="c2|This is the list of groups that new non-system users will be added to. By default, this list is 'dialout cdrom floppy audio video plugdev users games':
An additional check can be adjusted via the configuration parameter NAME_REGEX to enforce a local policy.
Tutoriais de Tecnologia Web