Browse Source

Merge remote-tracking branch 'origin/pr/22'

* origin/pr/22:
  Allow passwordless login for user "user" (when using 'sudo xl console').
Marek Marczykowski-Górecki 9 years ago
parent
commit
cae488dd34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      debian/qubes-core-agent.preinst

+ 1 - 1
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