OSDN Git Service

インストール時に「パスワードなし」にすると、管理者権限が必要な箇所の設定変更がいっさいできなくなるため、パスワード必須に修正。
authortoshio <toshio@oYo>
Thu, 15 Dec 2022 14:00:06 +0000 (23:00 +0900)
committertoshio <toshio@oYo>
Thu, 15 Dec 2022 14:00:06 +0000 (23:00 +0900)
Themes/full/etc/calamares/modules/users.conf

index e3bb649..0d16d91 100644 (file)
@@ -114,12 +114,11 @@ doReusePassword: true
 #    (That will show the box *Allow weak passwords* in the user-
 #    interface, and check it by default).
 passwordRequirements:
-    nonempty: false
-    minLength: -1  # Password at least this many characters
+    nonempty: true
+    minLength:  6  # Password at least this many characters
     maxLength: -1  # Password at most this many characters
     libpwquality:
-        - minlen=0
-        - minclass=0
+        - minlen=6
 
 # You can control the visibility of the 'strong passwords' checkbox here.
 # Possible values are:
@@ -128,7 +127,7 @@ passwordRequirements:
 # the checkbox. This checkbox allows the user to choose to disable
 # password-strength-checks. By default the box is **hidden**, so
 # that you have to pick a password that satisfies the checks.
-allowWeakPasswords: true
+allowWeakPasswords: false
 # You can control the initial state for the 'strong passwords' checkbox here.
 # Possible values are:
 #  - true to uncheck or