mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-17 01:08:16 +00:00
Fix sogo system user creation
This commit is contained in:
1 parent
40bc512318
commit
520286e500
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user