[neon/neon/calamares-settings/Neon/stable] desktop/calamares/desktop/modules: use new users annotations
Harald Sitter
null at kde.org
Wed Nov 4 14:50:04 GMT 2020
Git commit 05c7a8912417553d064f715e90880f86ed3b9be3 by Harald Sitter.
Committed on 04/11/2020 at 14:49.
Pushed by sitter into branch 'Neon/stable'.
use new users annotations
this allows us to add the sambashare group as system user. furthermore
tag all other groups as must_exist so installation fails should they not
be available in the future as that'll need inspection by a human for
renamed variants or if their disappearance is even called for
these annotations will only be available when the next calamares release
comes out
BUG: 428438
M +7 -0 desktop/calamares/desktop/modules/users.conf
https://invent.kde.org/neon/neon/calamares-settings/commit/05c7a8912417553d064f715e90880f86ed3b9be3
diff --git a/desktop/calamares/desktop/modules/users.conf b/desktop/calamares/desktop/modules/users.conf
index 0a14dac..c43a043 100644
--- a/desktop/calamares/desktop/modules/users.conf
+++ b/desktop/calamares/desktop/modules/users.conf
@@ -7,12 +7,19 @@ setRootPassword: false
sudoersGroup: sudo
defaultGroups:
- adm
+ must_exist: true
- cdrom
+ must_exist: true
- dip
+ must_exist: true
- lpadmin
+ must_exist: true
- plugdev
+ must_exist: true
- sambashare
+ system: true
- sudo
+ must_exist: true
# Explicitly set the shell instead of defering to calamares. We have a platform
# expectation derived from ubuntu here.
userShell: /bin/bash
More information about the Neon-commits
mailing list