# /etc/adduser.conf: `adduser' configuration. # See adduser(8) and adduser.conf(5) for full documentation. # A commented out setting indicates that this is the default in the # code. If you need to change those settings, remove the comment and # make your intended change. # The DSHELL variable specifies the default login shell on your # system. # Default: DSHELL=/bin/bash #DSHELL=/bin/bash # The DHOME variable specifies the directory containing users' home # directories. # Default: DHOME=/home #DHOME=/home # If GROUPHOMES is "yes", then the home directories will be created as # /home/groupname/user. # Default: GROUPHOMES=no #GROUPHOMES=no # If LETTERHOMES is "yes", then the created home directories will have # an extra directory - the first letter of the user name. For example: # /home/u/user. # Default: LETTERHOMES=no #LETTERHOMES=no # The SKEL variable specifies the directory containing "skeletal" user # files; in other words, files such as a sample .profile that will be # copied to the new user's home directory when it is created. # Default: SKEL=/etc/skel #SKEL=/etc/skel # FIRST_SYSTEM_[GU]ID to LAST_SYSTEM_[GU]ID inclusive is the range for UIDs # for dynamically allocated administrative and system accounts/groups. # Please note that system software, such as the users allocated by the # base-passwd package, may assume that UIDs less than 100 are unallocated. # Default: FIRST_SYSTEM_UID=100, LAST_SYSTEM_UID=999 #FIRST_SYSTEM_UID=100 #LAST_SYSTEM_UID=999 # Default: FIRST_SYSTEM_GID=100, LAST_SYSTEM_GID=999 #FIRST_SYSTEM_GID=100 #LAST_SYSTEM_GID=999 # FIRST_[GU]ID to LAST_[GU]ID inclusive is the range of UIDs of dynamically # allocated user accounts/groups. # Default: FIRST_UID=1000, LAST_UID=59999 #FIRST_UID=1000 #LAST_UID=59999 # Default: FIRST_GID=1000, LAST_GID=59999 #FIRST_GID=1000 #LAST_GID=59999 # The USERGROUPS variable can be either "yes" or "no". If "yes" each # created user will be given their own group to use as a default. If # "no", each created user get the primary group defined below as # USERS_GROUP or USERS_GID. # Default: USERGROUPS=yes #USERGROUPS=yes # Newly created users get this group as primary group if USERGROUPS # "no", and as a supplemental group if USERGROUPS is "yes". # Set one of the variables to reference the group. Don't set both. # Default: USERS_GID=undefined, USERS_GROUP=undefined #USERS_GID=100 #USERS_GROUP=users # If DIR_MODE is set, directories will be created with the specified # mode. Otherwise the default mode 0750 will be used. # Default: DIR_MODE=0750 #DIR_MODE=0750 # When creating system accounts: if SYS_DIR_MODE is set (and a home # location is specified), the directories will be created with the # specified mode. Otherwise the default mode 0750 will be used. # Default: SYS_DIR_MODE=0750 #SYS_DIR_MODE=0750 # If SETGID_HOME is "yes" home directories for users with their own # group the setgid bit will be set. This was the default for # versions << 3.13 of adduser. Because it has some bad side effects we # no longer do this per default. If you want it nevertheless you can # still set it here. Note: this feature is DEPRECATED and will be # removed in a future version of adduser; please use the DIR_MODE # settings above instead. # Default: SETGID_HOME=no #SETGID_HOME=no # If QUOTAUSER is set, a default quota will be set from that user with # `edquota -p QUOTAUSER newuser' # Default: QUOTAUSER="" #QUOTAUSER="" # If SKEL_IGNORE_REGEX is set, adduser will ignore files matching this # regular expression when creating a new home directory # Default: SKEL_IGNORE_REGEX="(dpkg|ucf)-(old|new|dist|save)" #SKEL_IGNORE_REGEX="(dpkg|ucf)-(old|new|dist|save)" # Set this if you want the --add-extra-groups option to adduser to add # new users to other groups. # This is the list of groups that new non-system users will be added to # Default: EXTRA_GROUPS="users" #EXTRA_GROUPS="users" # If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS # option above will be default behavior for adding new, non-system users # Default: ADD_EXTRA_GROUPS=0 #ADD_EXTRA_GROUPS=0 # check user and group names also against this regular expression. # Default: NAME_REGEX="^[a-z][-a-z0-9_]*\$?$" #NAME_REGEX="^[a-z][-a-z0-9_]*\$?$" # check system user and group names also against this regular expression. # Default: SYS_NAME_REGEX="^[A-Za-z_][-A-Za-z0-9_]*\$?$" #SYS_NAME_REGEX="^[A-Za-z_][-A-Za-z0-9_]*\$?$" # use extrausers by default #USE_EXTRAUSERS=1