mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-19 13:25:57 +00:00
Fix sogo system user creation (extra)
Missing file in commit 9dcc25abc5
This commit is contained in:
@@ -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