[neon/neon/calamares-settings/Neon/unstable] /: overhaul users passwords, visible components
Carlos De Maine
null at kde.org
Thu Feb 19 03:05:55 GMT 2026
Git commit 56f4b29ac234ef8687b44987402637203271bbe1 by Carlos De Maine.
Committed on 19/02/2026 at 02:30.
Pushed by carlosdem into branch 'Neon/unstable'.
overhaul users passwords, visible components
M +20 -4 desktop/calamares/desktop/modules/users.conf
M +12 -2 oem-prepare/calamares/oem-prepare/modules/users.conf
https://invent.kde.org/neon/neon/calamares-settings/-/commit/56f4b29ac234ef8687b44987402637203271bbe1
diff --git a/desktop/calamares/desktop/modules/users.conf b/desktop/calamares/desktop/modules/users.conf
index deb710f..1ac9bcc 100644
--- a/desktop/calamares/desktop/modules/users.conf
+++ b/desktop/calamares/desktop/modules/users.conf
@@ -1,8 +1,7 @@
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
-# SPDX-FileCopyrightText: 2018-2020 Harald Sitter <sitter at kde.org>
+# SPDX-FileCopyrightText: 2018-2021 Harald Sitter <sitter at kde.org>
# SPDX-FileCopyrightText: 2015-2016 Rohan Garg <rohan at kde.org>
---
-doAutologin: false
setRootPassword: false
sudoersGroup: sudo
defaultGroups:
@@ -21,10 +20,27 @@ defaultGroups:
- name: sudo
must_exist: true
passwordRequirements:
- minLength: 1
- maxLength: -1
+ minLength: 8
+ maxLength: 64
+ libpwquality:
+ - minlen=8
+ - maxrepeat=3
+ - maxsequence=3
+ - usersubstr=4
+ - badwords=linux
+ allowWeakPasswords: true
+ allowWeakPasswordsDefault: false
+displayAutologin: true
+doAutologin: false
# Explicitly set the shell instead of defering to calamares. We have a platform
# expectation derived from ubuntu here.
user:
shell: /bin/bash
forbidden_names: [ root ]
+#presets:
+# fullName:
+# value: "OEM User"
+# editable: false
+# loginName:
+# value: "oem"
+# editable: false
diff --git a/oem-prepare/calamares/oem-prepare/modules/users.conf b/oem-prepare/calamares/oem-prepare/modules/users.conf
index eb22e0f..f914c38 100644
--- a/oem-prepare/calamares/oem-prepare/modules/users.conf
+++ b/oem-prepare/calamares/oem-prepare/modules/users.conf
@@ -21,8 +21,18 @@ defaultGroups:
- name: sudo
must_exist: true
#passwordRequirements:
-# minLength: 1
-# maxLength: -1
+# minLength: 8
+# maxLength: 64
+# libpwquality:
+# - minlen=8
+# - maxrepeat=3
+# - maxsequence=3
+# - usersubstr=4
+# - badwords=linux
+# allowWeakPasswords: true
+# allowWeakPasswordsDefault: false
+displayAutologin: true
+doAutologin: false
# Explicitly set the shell instead of defering to calamares. We have a platform
# expectation derived from ubuntu here.
user:
More information about the Neon-commits
mailing list