X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdebian%2Fcitadel-common.postinst;h=06531833ff5ea7a83b78a1164ae7be340afcb496;hb=a2ae8dfea31fc1495e3a97b28f3ddca01f491bef;hp=30e9104c9bd27bcf3893dc32ca2a516ac0b49570;hpb=c35c476c95731539bf3b06ea4e1dbd24de995277;p=citadel.git diff --git a/citadel/debian/citadel-common.postinst b/citadel/debian/citadel-common.postinst index 30e9104c9..06531833f 100644 --- a/citadel/debian/citadel-common.postinst +++ b/citadel/debian/citadel-common.postinst @@ -9,13 +9,13 @@ db_version 2.0 case "$1" in configure) if ! getent group citadel >/dev/null; then - groupadd citadel + addgroup --system citadel fi if ! getent passwd citadel >/dev/null; then adduser --system --ingroup citadel --home /var/lib/citadel \ --gecos "Citadel system user" --shell /bin/sh \ - --disabled-password --no-create-home citadel --shell /bin/false + --disabled-password --no-create-home --shell /bin/false citadel fi chown -R citadel:citadel /etc/citadel