debian: create tinyproxy as system user

This commit is contained in:
Marek Marczykowski-Górecki 2014-12-01 03:54:45 +01:00
parent 756293ec75
commit 995c758d14

View File

@ -91,7 +91,7 @@ EOF
}
id -u 'tinyproxy' || {
groupadd -f tinyproxy
useradd -g tinyproxy -M --home /run/tinyproxy --shell /bin/false tinyproxy
useradd -g tinyproxy -r -M --home /run/tinyproxy --shell /bin/false tinyproxy
}
usermod -p '' root
usermod -L user