* call useradd the right way.
[citadel.git] / citadel / debian / citadel-common.postinst
index 30e9104c9bd27bcf3893dc32ca2a516ac0b49570..67d37cd921bdaf11720c49263aceb6370c900506 100644 (file)
@@ -15,7 +15,7 @@ case "$1" in
         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