mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
Fix sogo system user creation
This commit is contained in:
1 parent
568e438069
commit
9dcc25abc5
2 files changed
+2
-2
No files matched your search
@@ -392,7 +392,7 @@ if ! getent group %sogo_user >& /dev/null; then
|
||||
groupadd -f -r %sogo_user
|
||||
fi
|
||||
if ! id %sogo_user >& /dev/null; then
|
||||
/usr/sbin/useradd -d %{_var}/lib/sogo -c "SOGo daemon" -s /sbin/nologin -M -r %sogo_user
|
||||
/usr/sbin/useradd -d %{_var}/lib/sogo -c "SOGo daemon" -s /sbin/nologin -M -r -g %sogo_user %sogo_user
|
||||
fi
|
||||
|
||||
%post
|
||||
|
||||
Reference in new issue
Block a user