Fix sogo system user creation

This commit is contained in:
Wayne A. Ptaff
2016-06-03 10:35:40 -04:00
parent 568e438069
commit 9dcc25abc5
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