398
|
1 #summary PAM authentication module |
|
2 #labels Stage-Alpha,Type-Auth |
|
3 |
|
4 = Introduction = |
|
5 |
|
6 This module makes Prosody authenticate users against PAM (Linux Pluggable Authentication Modules) |
|
7 |
|
8 = Setup = |
|
9 |
|
10 Create a {{{/etc/pam.d/xmpp}}} with something like this: |
|
11 |
|
12 {{{ |
|
13 auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay |
|
14 auth requisite pam_deny.so |
|
15 auth required pam_permit.so |
|
16 }}} |
|
17 |
|
18 And switch authentication provider in the Prosody config: |
|
19 |
|
20 {{{ |
|
21 authentication = "pam" |
|
22 }}} |
|
23 |
|
24 = Compatibility = |
|
25 |
|
26 Compatible with 0.9 and up |