commit 6b1f9cdb66fdf1c4405666fd03e0fb162d5dbbed
parent 211510f2695e9f74e72ea6f067c741bce7257b3e
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Tue, 19 Nov 2019 22:03:28 +0100
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 <<EOF > /usr/share/lightdm/lightdm.conf.d/99_custom.conf
+$ sudo tee /usr/share/lightdm/lightdm.conf.d/99_custom.conf <<EOF
> [Seat:*]
> greeter-hide-users=false
> EOF