comparison mod_auth_pam.wiki @ 398:5b53e4534f65

Add page about mod_auth_pam
author Kim Alvefur <zash@zash.se>
date Fri, 16 Aug 2013 00:20:35 +0200
parents
children
comparison
equal deleted inserted replaced
397:0045196dc6b9 398:5b53e4534f65
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