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

* origin/pr/22:
  Allow passwordless login for user "user" (when using 'sudo xl console').
This commit is contained in:
Marek Marczykowski-Górecki 2015-09-28 12:08:39 +02:00
commit cae488dd34
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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