From: Tollef Fog Heen Date: Mon, 26 Oct 2009 10:02:06 +0000 (+0100) Subject: Add user in postinst X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b779de52658129f28af12eaad7c591a00d98543;p=yubikey-server-c Add user in postinst --- diff --git a/debian/yubikey-server-c.postinst b/debian/yubikey-server-c.postinst new file mode 100644 index 0000000..a0dedd8 --- /dev/null +++ b/debian/yubikey-server-c.postinst @@ -0,0 +1,7 @@ +#! /bin/sh -e + +if ! getent passwd yubikeyd> /dev/null; then + useradd -U -r -d /nonexistent -g yubikeyd yubikeyd +fi + +#DEBHELPER#