{
    "content": [
        {
            "type": "text",
            "text": "# adduser.conf (info)\n\n## NAME\n\n/etc/adduser.conf - configuration file for adduser(8) and addgroup(8).\n\n## DESCRIPTION\n\nThe  file  /etc/adduser.conf  contains  defaults  for  the programs ad-\nduser(8) , addgroup(8) , deluser(8) and delgroup(8).  Each line holds a\nsingle  value pair in the form option = value.  Double or single quotes\nare allowed around the value, as is whitespace around the equals  sign.\nComment lines must have a hash sign (#) in the first column.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **NOTES**\n- **FILES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "adduser.conf",
        "section": "",
        "mode": "info",
        "summary": "/etc/adduser.conf - configuration file for adduser(8) and addgroup(8).",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "addgroup",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/addgroup/8/json"
            },
            {
                "name": "adduser",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/adduser/8/json"
            },
            {
                "name": "delgroup",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/delgroup/8/json"
            },
            {
                "name": "deluser",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/deluser/8/json"
            },
            {
                "name": "deluser.conf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/deluser.conf/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 103,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "/etc/adduser.conf - configuration file for adduser(8) and addgroup(8).\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  file  /etc/adduser.conf  contains  defaults  for  the programs ad-\nduser(8) , addgroup(8) , deluser(8) and delgroup(8).  Each line holds a\nsingle  value pair in the form option = value.  Double or single quotes\nare allowed around the value, as is whitespace around the equals  sign.\nComment lines must have a hash sign (#) in the first column.\n\nThe valid configuration options are:\n\nDSHELL The  login  shell  to  be  used  for all new users.  Defaults to\n/bin/bash.\n\nDHOME  The directory in which new home directories should  be  created.\nDefaults to /home.\n\nGROUPHOMES\nIf  this  is set to yes, the home directories will be created as\n/home/[groupname]/user.  Defaults to no.\n\nLETTERHOMES\nIf this is set to yes, then the home  directories  created  will\nhave  an  extra  directory inserted which is the first letter of\nthe loginname.  For example: /home/u/user.  Defaults to no.\n\nSKEL   The directory  from  which  skeletal  user  configuration  files\nshould be copied.  Defaults to /etc/skel.\n\nFIRSTSYSTEMUID and LASTSYSTEMUID\nspecify an inclusive range of UIDs from which system UIDs can be\ndynamically allocated. Default to 100 - 999.  Please  note  that\nsystem  software, such as the users allocated by the base-passwd\npackage, may assume that UIDs less than 100 are unallocated.\n\nFIRSTUID and LASTUID\nspecify an inclusive range of UIDs from which normal user's UIDs\ncan be dynamically allocated. Default to 1000 - 59999.\n\nFIRSTSYSTEMGID and LASTSYSTEMGID\nspecify an inclusive range of GIDs from which system GIDs can be\ndynamically allocated.  Default to 100 - 999.\n\nFIRSTGID and LASTGID\nspecify an inclusive range of GIDs  from  which  normal  group's\nGIDs can be dynamically allocated. Default to 1000 - 59999.\n\nUSERGROUPS\nIf  this  is  set  to  yes, then each created user will be given\ntheir own group to use.  If this is no, then each  created  user\nwill  be placed in the group whose GID is USERSGID (see below).\nThe default is yes.\n\nUSERSGID\nIf USERGROUPS is no, then USERSGID is  the  GID  given  to  all\nnewly-created users.  The default value is 100.\n\nDIRMODE\nIf  set to a valid value (e.g. 0755 or 755), directories created\nwill have the specified permissions as umask. Otherwise 0755  is\nused as default.\n\nSETGIDHOME\nIf  this  is  set  to  yes, then home directories for users with\ntheir own group ( USERGROUPS=yes ) will have the setgid bit set.\nThis  was  the default setting for adduser versions << 3.13. Un-\nfortunately it has some bad side effects, so  we  no  longer  do\nthis  per default. If you want it nevertheless you can still ac-\ntivate it here.\n\nQUOTAUSER\nIf set to a nonempty value, new users will  have  quotas  copied\nfrom that user.  The default is empty.\n\nNAMEREGEX\nUser  and  group  names are checked against this regular expres-\nsion. If the name doesn't match this regexp, user and group cre-\nation  in adduser is refused unless --force-badname is set. With\n--force-badname set, only weak checks are performed. The default\nis  the  most  conservative ^[a-z][-a-z0-9]*$.  When --system is\nspecified, NAMEREGEXSYSTEM is used instead.\n\nNAMEREGEXSYSTEM\nNames of system users are checked against this  regular  expres-\nsion.   If  --system is supplied and the name doesn't match this\nregexp, user creation in adduser is refused unless  --force-bad-\nname is set. With --force-badname set, only weak checks are per-\nformed. The default is as for the default  NAMEREGEX  but  also\nallowing uppercase letters.\n\nSKELIGNOREREGEX\nFiles  in  /etc/skel/  are  checked  against this regex, and not\ncopied to the newly created home directory if they match.   This\nis  by default set to the regular expression matching files left\nover from unmerged config files (dpkg-(old|new|dist)).\n\nADDEXTRAGROUPS\nSetting this to something other than 0 (the default) will  cause\nadduser  to  add  newly  created non-system users to the list of\ngroups defined by EXTRAGROUPS (below).\n\nEXTRAGROUPS\nThis is the list of groups that new  non-system  users  will  be\nadded  to.  By default, this list is 'dialout cdrom floppy audio\nvideo plugdev users games'.\n",
                "subsections": []
            },
            "NOTES": {
                "content": "VALID NAMES\nadduser and addgroup enforce conformity to IEEE Std 1003.1-2001,\nwhich  allows  only  the following characters to appear in group\nand user names: letters, digits, underscores, periods, at  signs\n(@)  and dashes. The name may no start with a dash. The \"$\" sign\nis allowed at the end of usernames (to conform to samba).\n\nAn additional check can be adjusted via the configuration param-\neter NAMEREGEX to enforce a local policy.\n",
                "subsections": []
            },
            "FILES": {
                "content": "/etc/adduser.conf\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "addgroup(8), adduser(8), delgroup(8), deluser(8), deluser.conf(5)\n\nDebian GNU/Linux             Version 3.118ubuntu5              adduser.conf(5)",
                "subsections": []
            }
        }
    }
}