'Network User' is now 'Normal User'
[citadel.git] / citadel / debian / citadel-common.postinst
index 30e9104c9bd27bcf3893dc32ca2a516ac0b49570..06531833ff5ea7a83b78a1164ae7be340afcb496 100644 (file)
@@ -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