mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Fix init script: use getent to allow ejabberd user from external authentication sources (LDAP)
This commit is contained in:
parent
c18413c52b
commit
29a841d8c7
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ test -x "$CTL" || {
|
|||
echo "ERROR: ejabberd not found: $DIR"
|
||||
exit 1
|
||||
}
|
||||
grep ^"$USER": /etc/passwd >/dev/null || {
|
||||
getent passwd "$USER" >/dev/null || {
|
||||
echo "ERROR: System user not found: $USER"
|
||||
exit 2
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue