Software / code / prosody-modules
Comparison
mod_auth_pam/README.markdown @ 1803:4d73a1a6ba68
Convert all wiki pages to Markdown
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 28 Aug 2015 18:03:58 +0200 |
| parent | 1782:mod_auth_pam/README.wiki@29f3d6b7ad16 |
| child | 2504:d407397d05ca |
comparison
equal
deleted
inserted
replaced
| 1802:0ab737feada6 | 1803:4d73a1a6ba68 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 - 'Stage-Alpha' | |
| 4 - 'Type-Auth' | |
| 5 summary: PAM authentication module | |
| 6 ... | |
| 7 | |
| 8 Introduction | |
| 9 ============ | |
| 10 | |
| 11 This module makes Prosody authenticate users against PAM (Linux | |
| 12 Pluggable Authentication Modules) | |
| 13 | |
| 14 Setup | |
| 15 ===== | |
| 16 | |
| 17 Create a `/etc/pam.d/xmpp` with something like this: | |
| 18 | |
| 19 auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay | |
| 20 auth requisite pam_deny.so | |
| 21 auth required pam_permit.so | |
| 22 | |
| 23 And switch authentication provider in the Prosody config: | |
| 24 | |
| 25 authentication = "pam" | |
| 26 | |
| 27 Compatibility | |
| 28 ============= | |
| 29 | |
| 30 Compatible with 0.9 and up |