mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-01-25 01:09:08 +08:00
Fix useradd command (closes #659)
This commit is contained in:
parent
5be92da8ff
commit
35ccf92163
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ main() {
|
||||||
ensure dscl /Local/Default -delete /Users/_stalwart-mail AuthenticationAuthority
|
ensure dscl /Local/Default -delete /Users/_stalwart-mail AuthenticationAuthority
|
||||||
ensure dscl /Local/Default -delete /Users/_stalwart-mail PasswordPolicyOptions
|
ensure dscl /Local/Default -delete /Users/_stalwart-mail PasswordPolicyOptions
|
||||||
else
|
else
|
||||||
ensure useradd ${_account} -s /sbin/nologin -M
|
ensure useradd ${_account} -s /usr/sbin/nologin -M -r -U
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue