diff options
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= |