aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/plugins/msec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py
index 34adaa1..52eb8d7 100755
--- a/src/msec/plugins/msec.py
+++ b/src/msec/plugins/msec.py
@@ -393,6 +393,7 @@ class msec:
if oldval_sddmconf != 'true':
self.log.info(_("Allowing list of users in {}").format('SDDM'))
sddmconf.set_shell_variable('RememberLastUser', 'true','^\[Users\]', '^\s*$')
+ sddmconf.set_shell_variable('MinimumUid', '500','^\[Users\]', '^\s*$')
else:
if gdmconf.exists():
if gdm230.exists():
@@ -405,6 +406,7 @@ class msec:
if oldval_sddmconf != 'false':
self.log.info(_("Forbidding showing last user in {}").format('SDDM'))
sddmconf.set_shell_variable('RememberLastUser', 'false','^\[Users\]', '^\s*$')
+ sddmconf.set_shell_variable('MinimumUid', '99999','^\[Users\]', '^\s*$')
def allow_autologin(self, arg):
''' Allow autologin.'''