comparison mod_auth_pam/README.wiki @ 1782:29f3d6b7ad16

Import wiki pages
author Kim Alvefur <zash@zash.se>
date Mon, 24 Aug 2015 16:43:56 +0200
parents
children
comparison
equal deleted inserted replaced
1781:12ac88940fe3 1782:29f3d6b7ad16
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