From 131f79944c18e8aec12ce9b008b1e2663e1999c6 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Wed, 26 Aug 2015 12:33:35 +0000 Subject: [PATCH] Allow passwordless login for user "user" (when using 'sudo xl console'). Fixes https://github.com/QubesOS/qubes-issues/issues/1130. --- debian/qubes-core-agent.preinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/qubes-core-agent.preinst b/debian/qubes-core-agent.preinst index 9203259..3f41081 100755 --- a/debian/qubes-core-agent.preinst +++ b/debian/qubes-core-agent.preinst @@ -44,7 +44,7 @@ if [ "$1" = "install" ] ; then # User add / modifications # -------------------------------------------------------------------------- id -u 'user' >/dev/null 2>&1 || { - useradd --user-group --create-home --shell /bin/bash user + useradd --password "" --user-group --create-home --shell /bin/bash user } id -u 'tinyproxy' >/dev/null 2>&1 || { useradd --user-group --system -M --home /run/tinyproxy --shell /bin/false tinyproxy