adduser.conf 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # /etc/adduser.conf: `adduser' configuration.
  2. # See adduser(8) and adduser.conf(5) for full documentation.
  3. # The DSHELL variable specifies the default login shell on your
  4. # system.
  5. DSHELL=/bin/zsh
  6. # The DHOME variable specifies the directory containing users' home
  7. # directories.
  8. DHOME=/home
  9. # If GROUPHOMES is "yes", then the home directories will be created as
  10. # /home/groupname/user.
  11. GROUPHOMES=no
  12. # If LETTERHOMES is "yes", then the created home directories will have
  13. # an extra directory - the first letter of the user name. For example:
  14. # /home/u/user.
  15. LETTERHOMES=no
  16. # The SKEL variable specifies the directory containing "skeletal" user
  17. # files; in other words, files such as a sample .profile that will be
  18. # copied to the new user's home directory when it is created.
  19. SKEL=/etc/skel
  20. # FIRST_SYSTEM_[GU]ID to LAST_SYSTEM_[GU]ID inclusive is the range for UIDs
  21. # for dynamically allocated administrative and system accounts/groups.
  22. # Please note that system software, such as the users allocated by the base-passwd
  23. # package, may assume that UIDs less than 100 are unallocated.
  24. FIRST_SYSTEM_UID=100
  25. LAST_SYSTEM_UID=999
  26. FIRST_SYSTEM_GID=100
  27. LAST_SYSTEM_GID=999
  28. # FIRST_[GU]ID to LAST_[GU]ID inclusive is the range of UIDs of dynamically
  29. # allocated user accounts/groups.
  30. FIRST_UID=1000
  31. LAST_UID=29999
  32. FIRST_GID=1000
  33. LAST_GID=29999
  34. # The USERGROUPS variable can be either "yes" or "no". If "yes" each
  35. # created user will be given their own group to use as a default. If
  36. # "no", each created user will be placed in the group whose gid is
  37. # USERS_GID (see below).
  38. USERGROUPS=yes
  39. # If USERGROUPS is "no", then USERS_GID should be the GID of the group
  40. # `users' (or the equivalent group) on your system.
  41. USERS_GID=100
  42. # If DIR_MODE is set, directories will be created with the specified
  43. # mode. Otherwise the default mode 0755 will be used.
  44. DIR_MODE=0755
  45. # If SETGID_HOME is "yes" home directories for users with their own
  46. # group the setgid bit will be set. This was the default for
  47. # versions << 3.13 of adduser. Because it has some bad side effects we
  48. # no longer do this per default. If you want it nevertheless you can
  49. # still set it here.
  50. SETGID_HOME=no
  51. # If QUOTAUSER is set, a default quota will be set from that user with
  52. # `edquota -p QUOTAUSER newuser'
  53. QUOTAUSER=""
  54. # If SKEL_IGNORE_REGEX is set, adduser will ignore files matching this
  55. # regular expression when creating a new home directory
  56. SKEL_IGNORE_REGEX="dpkg-(old|new|dist|save)"
  57. # Set this if you want the --add_extra_groups option to adduser to add
  58. # new users to other groups.
  59. # This is the list of groups that new non-system users will be added to
  60. # Default:
  61. #EXTRA_GROUPS="dialout cdrom floppy audio video plugdev users"
  62. # If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS
  63. # option above will be default behavior for adding new, non-system users
  64. #ADD_EXTRA_GROUPS=1
  65. # check user and group names also against this regular expression.
  66. #NAME_REGEX="^[a-z][-a-z0-9_]*\$"