From 6b1f9cdb66fdf1c4405666fd03e0fb162d5dbbed Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 19 Nov 2019 22:03:28 +0100 Subject: Fix command to enable user greeter I thought the first one worked, but it failed on another setup I installed recently. Unless I'm mistaken, this cannot actually work: the process *spawned by sudo* (cat) has root privileges; the sudo process itself is run as the regular user, therefore the redirection fails. --- guides/setups/nc10-laptop/debian-buster.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/setups') diff --git a/guides/setups/nc10-laptop/debian-buster.org b/guides/setups/nc10-laptop/debian-buster.org index a845cc1..dc2fc8c 100644 --- a/guides/setups/nc10-laptop/debian-buster.org +++ b/guides/setups/nc10-laptop/debian-buster.org @@ -250,7 +250,7 @@ Debian [[https://wiki.debian.org/LightDM#Enable_user_list][hides the list of use it]] and I kind of like it (fewer keystrokes, and a cute avatar). #+BEGIN_SRC sh -$ sudo cat < /usr/share/lightdm/lightdm.conf.d/99_custom.conf +$ sudo tee /usr/share/lightdm/lightdm.conf.d/99_custom.conf < [Seat:*] > greeter-hide-users=false > EOF -- cgit v1.2.3