From: Wilfried Goesgens Date: Mon, 1 Nov 2010 22:38:07 +0000 (+0100) Subject: Do a more precise match to find out our UID X-Git-Tag: v8.01~614 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=078029a2391e9b9ff400ce1a5f7140c51858966d;p=citadel.git Do a more precise match to find out our UID --- diff --git a/citadel/debian/citadel-server.postinst b/citadel/debian/citadel-server.postinst index 5a1592a4d..d238ff90c 100644 --- a/citadel/debian/citadel-server.postinst +++ b/citadel/debian/citadel-server.postinst @@ -36,7 +36,7 @@ case "$1" in export CITADEL='/var/run/citadel' export CITADEL_PORT=504 export CITADEL_INSTALLER=yes - export CITADEL_UID=`grep citadel /etc/passwd | cut -d : -f 3` + export CITADEL_UID=`grep ^citadel: /etc/passwd | cut -d : -f 3` export ACT_AS_MTA=no export SYSADMIN_NAME=$admin export CREATE_XINETD_ENTRY=no