mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-28 21:05:45 -05:00
- Introduce a map 'passwordRequirements' in users.conf, which is a list of named requirements. There are only two settings right now, min and max length, but additional checks can easily be added in UsersPage.cpp by defining additional lambda's to check the given password string. - Add PasswordCheck instances as needed, with functions to check acceptability and to produce messages on rejection. - Documentation in the users.conf file itself. - In passing, refactor setting of pixmaps on labels. FIXES #790
43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
# Configuration for the one-user-system user module.
|
|
#
|
|
# Besides these settings, the user module also places the following
|
|
# keys into the globalconfig area, based on user input in the view step.
|
|
#
|
|
# - hostname
|
|
# - username
|
|
# - password (obscured)
|
|
# - autologinUser (if enabled, set to username)
|
|
#
|
|
# These globalconfig keys are set when the jobs for this module
|
|
# are created.
|
|
---
|
|
defaultGroups:
|
|
- users
|
|
- lp
|
|
- video
|
|
- network
|
|
- storage
|
|
- wheel
|
|
- audio
|
|
autologinGroup: autologin
|
|
doAutologin: true
|
|
|
|
# remove the following line to avoid creating /etc/sudoers.d/10-installer
|
|
sudoersGroup: wheel
|
|
|
|
setRootPassword: true
|
|
doReusePassword: true
|
|
|
|
# These are optional password-requirements that a distro can enforce
|
|
# on the user. The values given in this sample file disable each check,
|
|
# as if the check was not listed at all.
|
|
#
|
|
# Checks may be listed multiple times; each is checked separately,
|
|
# and no effort is done to ensure that the checks are consistent
|
|
# (e.g. specifying a maximum length less than the minimum length
|
|
# will annoy users).
|
|
#
|
|
# (additional checks may be implemented in UsersPage.cpp)
|
|
passwordRequirements:
|
|
minLength: -1 # Password at least this many characters
|
|
maxLength: -1 # Password at most this many characters
|