Fix sogo system user creation

This commit is contained in:
Wayne A. Ptaff
2016-06-06 10:36:02 -04:00
committed by Patrice Levesque
parent 40bc512318
commit 520286e500
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ if [ "$1" == "install" ] || [ "$1" == "upgrade" ]; then
getent group sogo >& /dev/null || groupadd -f -r sogo
if ! id sogo 1> /dev/null 2>&1; then
useradd -d /var/lib/sogo -g sogo -c "SOGo daemon" -s /usr/sbin/nologin -r sogo
useradd -d /var/lib/sogo -g sogo -c "SOGo daemon" -s /usr/sbin/nologin -r -g sogo sogo
fi
# create mandatory dirs and enforce owner+mode