source: calamares/trunk/fuentes/src/modules/users/users.conf @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 13 months ago

sync with github

File size: 3.4 KB
Line 
1# Configuration for the one-user-system user module.
2#
3# Besides these settings, the user module also places the following
4# keys into the globalconfig area, based on user input in the view step.
5#
6# - hostname
7# - username
8# - password (obscured)
9# - autologinUser (if enabled, set to username)
10#
11# These globalconfig keys are set when the jobs for this module
12# are created.
13---
14# Used as default groups for the created user.
15# Adjust to your Distribution defaults.
16defaultGroups:
17    - users
18    - lp
19    - video
20    - network
21    - storage
22    - wheel
23    - audio
24
25# Some Distributions require a 'autologin' group for the user.
26# Autologin causes a user to become automatically logged in to
27# the desktop environment on boot.
28# Disable when your Distribution does not require such a group.
29autologinGroup:  autologin
30# You can control the initial state for the 'autologin checkbox' in UsersViewStep here.
31# Possible values are: true to enable or false to disable the checkbox by default
32doAutologin:     true
33
34# When set to a non-empty string, Calamares creates a sudoers file for the user.
35#  /etc/sudoers.d/10-installer
36# Remember to add sudoersGroup to defaultGroups.
37#
38# If your Distribution already sets up a group of sudoers in its packaging,
39# remove this setting (delete or comment out the line below). Otherwise,
40# the setting will be duplicated in the /etc/sudoers.d/10-installer file,
41# potentially confusing users.
42sudoersGroup:    wheel
43
44# Setting this to false , causes the root account to be disabled.
45setRootPassword: true
46# You can control the initial state for the 'root password checkbox' in UsersViewStep here.
47# Possible values are: true to enable or false to disable the checkbox by default.
48# When enabled the user password is used for the root account too.
49# NOTE: doReusePassword requires setRootPassword to be enabled.
50doReusePassword: true
51
52# These are optional password-requirements that a distro can enforce
53# on the user. The values given in this sample file disable each check,
54# as if the check was not listed at all.
55#
56# Checks may be listed multiple times; each is checked separately,
57# and no effort is done to ensure that the checks are consistent
58# (e.g. specifying a maximum length less than the minimum length
59# will annoy users).
60#
61# The libpwquality check relies on the (optional) libpwquality library.
62# Its value is a list of configuration statements that could also
63# be found in pwquality.conf, and these are handed off to the
64# libpwquality parser for evaluation. The check is ignored if
65# libpwquality is not available at build time (generates a warning in
66# the log). The Calamares password check rejects passwords with a
67# score of < 40 with the given libpwquality settings.
68#
69# (additional checks may be implemented in CheckPWQuality.cpp and
70# wired into UsersPage.cpp)
71passwordRequirements:
72    minLength: -1  # Password at least this many characters
73    maxLength: -1  # Password at most this many characters
74    libpwquality:
75        - minlen=0
76        - minclass=0
77
78# Shell to be used for the regular user of the target system.
79# There are three possible kinds of settings:
80#  - unset (i.e. commented out, the default), act as if set to /bin/bash
81#  - empty (explicit), don't pass shell information to useradd at all
82#    and rely on a correct configuration file in /etc/default/useradd
83#  - set, non-empty, use that path as shell. No validation is done
84#    that the shell actually exists or is executable.
85# userShell: /bin/bash
Note: See TracBrowser for help on using the repository browser.