diff options
author | Taner Tas <taner76@gmail.com> | 2019-03-24 13:42:01 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-25 15:15:14 +0200 |
commit | f73cb5c48ec938020c59024cc75f7b7d19ec9b31 (patch) | |
tree | e25c4cddff01e939600844c749cd5764574999ee /community/lightdm/disallow-guest.patch | |
parent | 107990a8c66b184eb8c116f2697fc76627e8b722 (diff) | |
download | aports-f73cb5c48ec938020c59024cc75f7b7d19ec9b31.tar.bz2 aports-f73cb5c48ec938020c59024cc75f7b7d19ec9b31.tar.xz |
testing/lightdm* -> community/
lightdm* : move from testing
lightdm-gtk-greeter: upgrade to 2.0.6
Diffstat (limited to 'community/lightdm/disallow-guest.patch')
-rw-r--r-- | community/lightdm/disallow-guest.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/lightdm/disallow-guest.patch b/community/lightdm/disallow-guest.patch new file mode 100644 index 0000000000..237b571094 --- /dev/null +++ b/community/lightdm/disallow-guest.patch @@ -0,0 +1,22 @@ +--- a/src/lightdm.c ++++ b/src/lightdm.c +@@ -779,7 +779,7 @@ + if (!config_has_key (config_get_instance (), "Seat:*", "allow-user-switching")) + config_set_boolean (config_get_instance (), "Seat:*", "allow-user-switching", TRUE); + if (!config_has_key (config_get_instance (), "Seat:*", "allow-guest")) +- config_set_boolean (config_get_instance (), "Seat:*", "allow-guest", TRUE); ++ config_set_boolean (config_get_instance (), "Seat:*", "allow-guest", FALSE); + if (!config_has_key (config_get_instance (), "Seat:*", "greeter-allow-guest")) + config_set_boolean (config_get_instance (), "Seat:*", "greeter-allow-guest", TRUE); + if (!config_has_key (config_get_instance (), "Seat:*", "greeter-show-remote-login")) +--- a/data/lightdm.conf ++++ b/data/lightdm.conf +@@ -112,7 +112,7 @@ + #greeter-show-remote-login=true + #user-session=default + #allow-user-switching=true +-#allow-guest=true ++#allow-guest=false + #guest-session= + #session-wrapper=lightdm-session + #greeter-wrapper= |