summaryrefslogtreecommitdiff
path: root/guides/setups
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-11-19 22:03:28 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-11-19 22:03:28 +0100
commit6b1f9cdb66fdf1c4405666fd03e0fb162d5dbbed (patch)
treefcffbb9532c28ad4a481371284ca3bceeef928ee /guides/setups
parent211510f2695e9f74e72ea6f067c741bce7257b3e (diff)
downloadmemory-leaks-6b1f9cdb66fdf1c4405666fd03e0fb162d5dbbed.tar.xz
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 (limited to 'guides/setups')
-rw-r--r--guides/setups/nc10-laptop/debian-buster.org2
1 files changed, 1 insertions, 1 deletions
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 <<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