Skip to content

Commit

Permalink
Fix init script: use getent to allow ejabberd user from external auth…
Browse files Browse the repository at this point in the history
…entication sources (LDAP)
  • Loading branch information
Nathan Bruning committed Sep 17, 2014
1 parent c18413c commit 29a841d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ejabberd.init.template
Expand Up @@ -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
}
Expand Down

0 comments on commit 29a841d

Please sign in to comment.