fixed users

This commit is contained in:
Sohrab Behdani 2024-06-05 12:04:58 +03:30
parent 7eb930289c
commit 1d8d304173
2 changed files with 6 additions and 25 deletions

View file

@ -34,7 +34,7 @@
# This is new behavior.
#
# The three combinations of legacy values are still supported.
restartNowMode: user-unchecked
restartNowMode: user-checked
# If the checkbox is shown, and the checkbox is checked, then when
# Calamares exits from the finished-page it will run this command.

View file

@ -14,32 +14,13 @@ defaultGroups:
system: true
- audio
# When *sudoersGroup* is set to a non-empty string, Calamares creates a
# sudoers file for the user. This file is located at:
# `/etc/sudoers.d/10-installer`
# Remember to add the (value of) *sudoersGroup* to *defaultGroups*.
#
# If your Distribution already sets up a group of sudoers in its packaging,
# remove this setting (delete or comment out the line below). Otherwise,
# the setting will be duplicated in the `/etc/sudoers.d/10-installer` file,
# potentially confusing users.
sudoersGroup: wheel
# Some Distributions require a 'autologin' group for the user.
# Autologin causes a user to become automatically logged in to
# the desktop environment on boot.
# Disable when your Distribution does not require such a group.
autologinGroup: autologin
### ROOT AND SUDO
#
# Some distributions have a root user enabled for login. Others
# rely entirely on sudo or similar mechanisms to raise privileges.
# If set to `false` (the default), writes a sudoers file with `ALL=(ALL)`
# so that commands can be run as any user. If set to `true`, writes
# `ALL=(ALL:ALL)` so that any user and any group can be chosen.
sudoersConfigureWithGroup: true
setRootPassword: false
@ -51,15 +32,15 @@ doAutologin: false
# These are very weak -- actually, none at all -- requirements
passwordRequirements:
minLength: 3 # Password at least this many characters
minLength: -1 # Password at least this many characters
maxLength: 10 # Password at most this many characters
libpwquality:
- minlen=0
- minclass=0
allowWeakPasswords: false
allowWeakPasswords: true
allowWeakPasswordsDefault: false
allowWeakPasswordsDefault: true
user:
shell: /bin/bash
@ -68,7 +49,7 @@ user:
hostname:
location: EtcFile
writeHostsFile: true
template: "parchbox-${cpu}"
template: "ParchBox-${cpu}"
forbidden_names: [ localhost ]
presets: