diff options
author | Nathan Bruning <nathan.bruning@iperity.com> | 2014-09-17 21:28:50 +0200 |
---|---|---|
committer | Nathan Bruning <nathan.bruning@iperity.com> | 2014-09-17 21:28:50 +0200 |
commit | 29a841d8c7300bc69cd4cf199a247eaed594041d (patch) | |
tree | daade176d22eb4aac70f7c4b356d0d8f97c38ec1 /ejabberd.init.template | |
parent | Merge pull request #300 from weiss/resend-if-offline (diff) |
Fix init script: use getent to allow ejabberd user from external authentication sources (LDAP)
Diffstat (limited to 'ejabberd.init.template')
-rw-r--r-- | ejabberd.init.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberd.init.template b/ejabberd.init.template index ef691e4b3..90d75404f 100644 --- a/ejabberd.init.template +++ b/ejabberd.init.template @@ -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 } |