From 1d8d3041735b5970587472291a49d00ce1e620e6 Mon Sep 17 00:00:00 2001 From: Sohrab Behdani Date: Wed, 5 Jun 2024 12:04:58 +0330 Subject: [PATCH] fixed users --- etc/calamares/modules/finished.conf | 2 +- etc/calamares/modules/users.conf | 29 +++++------------------------ 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/etc/calamares/modules/finished.conf b/etc/calamares/modules/finished.conf index 7abfb36..b0647fe 100644 --- a/etc/calamares/modules/finished.conf +++ b/etc/calamares/modules/finished.conf @@ -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. diff --git a/etc/calamares/modules/users.conf b/etc/calamares/modules/users.conf index fbfcd45..90fc4c9 100644 --- a/etc/calamares/modules/users.conf +++ b/etc/calamares/modules/users.conf @@ -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: