From: Badlop Date: Thu, 24 Jul 2008 18:21:40 +0000 (+0000) Subject: * doc/guide.tex: Include example PAM configuration file X-Git-Tag: v2.1.0~18^2~630 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46e83cce55f45160bf6b3fb3270389cef17a9694;p=ejabberd * doc/guide.tex: Include example PAM configuration file ejabberd.pam (thanks to Evgeniy Khramtsov)(EJAB-704) * doc/guide.html: Likewise SVN Revision: 1489 --- diff --git a/ChangeLog b/ChangeLog index f8538030c..cefe351f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-07-24 Badlop + * doc/guide.tex: Include example PAM configuration file + ejabberd.pam (thanks to Evgeniy Khramtsov)(EJAB-704) + * doc/guide.html: Likewise + * src/mod_proxy65/mod_proxy65_lib.erl: Send protocol compliant SOCKS5 reply; this breaks support of uncompliant Psi<0.10 (thanks to Felix Geyer)(EJAB-632) diff --git a/doc/guide.html b/doc/guide.html index c67f12103..af65e7ea9 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -976,8 +976,12 @@ version, you can kill(1) epam process periodically to reduce i consumption: ejabberd will restart this process immediately.
  • epam program tries to turn off delays on authentication failures. However, some PAM modules ignore this behavior and rely on their own configuration options. -The example configuration file ejabberd.pam shows how to turn off delays in -pam_unix.so module. It is not a ready to use configuration file: you must use it +You can create a configuration file ejabberd.pam. +This example shows how to turn off delays in pam_unix.so module: +
    #%PAM-1.0
    +auth        sufficient  pam_unix.so likeauth nullok nodelay
    +account     sufficient  pam_unix.so
    +
    That is not a ready to use configuration file: you must use it as a hint when building your own PAM configuration instead. Note that if you want to disable delays on authentication failures in the PAM configuration file, you have to restrict access to this file, so a malicious user can’t use your configuration to perform brute-force diff --git a/doc/guide.tex b/doc/guide.tex index 355a84a37..bf07f39e5 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -1159,8 +1159,14 @@ version, you can \term{kill(1)} \term{epam} process periodically to reduce its m consumption: \ejabberd{} will restart this process immediately. \item \term{epam} program tries to turn off delays on authentication failures. However, some PAM modules ignore this behavior and rely on their own configuration options. -The example configuration file \term{ejabberd.pam} shows how to turn off delays in -\term{pam\_unix.so} module. It is not a ready to use configuration file: you must use it +You can create a configuration file \term{ejabberd.pam}. +This example shows how to turn off delays in \term{pam\_unix.so} module: +\begin{verbatim} +#%PAM-1.0 +auth sufficient pam_unix.so likeauth nullok nodelay +account sufficient pam_unix.so +\end{verbatim} +That is not a ready to use configuration file: you must use it as a hint when building your own PAM configuration instead. Note that if you want to disable delays on authentication failures in the PAM configuration file, you have to restrict access to this file, so a malicious user can't use your configuration to perform brute-force