[neon/neon/calamares-settings/Neon/unstable] /: ensure a password is set

Carlos De Maine null at kde.org
Wed Feb 18 22:57:51 GMT 2026


Git commit d8ba6e50158ff4f48d4dd3a25250b6a70f08c4c7 by Carlos De Maine.
Committed on 18/02/2026 at 22:57.
Pushed by carlosdem into branch 'Neon/unstable'.

ensure a password is set

M  +6    -3    desktop/calamares/desktop/modules/users.conf
M  +6    -4    oem-prepare/calamares/oem-prepare/modules/users.conf

https://invent.kde.org/neon/neon/calamares-settings/-/commit/d8ba6e50158ff4f48d4dd3a25250b6a70f08c4c7

diff --git a/desktop/calamares/desktop/modules/users.conf b/desktop/calamares/desktop/modules/users.conf
index eafbe81..deb710f 100644
--- a/desktop/calamares/desktop/modules/users.conf
+++ b/desktop/calamares/desktop/modules/users.conf
@@ -20,8 +20,11 @@ defaultGroups:
       system: true
     - name: sudo
       must_exist: true
+passwordRequirements:
+    minLength: 1
+    maxLength: -1
 # Explicitly set the shell instead of defering to calamares. We have a platform
 # expectation derived from ubuntu here.
-userShell: /bin/bash
-passwordRequirements:
-    nonempty: true
+user:
+  shell: /bin/bash
+  forbidden_names: [ root ]
diff --git a/oem-prepare/calamares/oem-prepare/modules/users.conf b/oem-prepare/calamares/oem-prepare/modules/users.conf
index 65197c3..7585ad0 100644
--- a/oem-prepare/calamares/oem-prepare/modules/users.conf
+++ b/oem-prepare/calamares/oem-prepare/modules/users.conf
@@ -20,12 +20,14 @@ defaultGroups:
       system: true
     - name: sudo
       must_exist: true
+passwordRequirements:
+    minLength: 1
+    maxLength: -1
 # Explicitly set the shell instead of defering to calamares. We have a platform
 # expectation derived from ubuntu here.
-userShell: /bin/bash
-passwordRequirements:
-    nonempty: true
-
+user:
+  shell: /bin/bash
+  forbidden_names: [ root ]
 presets:
     fullName:
         value: "OEM User"



More information about the Neon-commits mailing list