From 1b779de52658129f28af12eaad7c591a00d98543 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 26 Oct 2009 11:02:06 +0100 Subject: [PATCH] Add user in postinst --- debian/yubikey-server-c.postinst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 debian/yubikey-server-c.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# -- 2.39.5