annotate mod_auth_pam.wiki @ 441:80ce8d7f7f56

mod_s2s_auth_dane.wiki: more text, examples and links
author Kim Alvefur <zash@zash.se>
date Sat, 22 Mar 2014 13:30:47 +0100
parents 5b53e4534f65
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
398
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 #summary PAM authentication module
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 #labels Stage-Alpha,Type-Auth
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 = Introduction =
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 This module makes Prosody authenticate users against PAM (Linux Pluggable Authentication Modules)
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 = Setup =
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 Create a {{{/etc/pam.d/xmpp}}} with something like this:
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 {{{
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 auth requisite pam_deny.so
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 auth required pam_permit.so
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 }}}
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 And switch authentication provider in the Prosody config:
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 {{{
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 authentication = "pam"
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 }}}
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 = Compatibility =
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25
5b53e4534f65 Add page about mod_auth_pam
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 Compatible with 0.9 and up