summaryrefslogtreecommitdiff
path: root/src/man/pam_sss.8.xml
blob: 40ccf28937af54c5ee555adf1d2e320bd3272834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<reference>
<title>SSSD Manual pages</title>
<refentry>
    <refentryinfo>
        <productname>SSSD</productname>
        <orgname>The SSSD upstream - http://fedorahosted.org/sssd</orgname>
    </refentryinfo>

    <refmeta>
        <refentrytitle>pam_sss</refentrytitle>
        <manvolnum>8</manvolnum>
    </refmeta>

    <refnamediv id='name'>
        <refname>pam_sss</refname>
        <refpurpose>PAM module for SSSD</refpurpose>
    </refnamediv>

    <refsynopsisdiv id='synopsis'>
        <cmdsynopsis>
            <command>pam_sss.so</command>
            <arg choice='opt'>
                <replaceable>forward_pass</replaceable>
            </arg>
            <arg choice='opt'>
                <replaceable>use_first_pass</replaceable>
            </arg>
            <arg choice='opt'>
                <replaceable>use_authtok</replaceable>
            </arg>
            <arg choice='opt'>
                <replaceable>retry=N</replaceable>
            </arg>
        </cmdsynopsis>
    </refsynopsisdiv>

    <refsect1 id='description'>
        <title>DESCRIPTION</title>
        <para><command>pam_sss.so</command> is the PAM interface to the System
        Security Services daemon (SSSD). Errors and results are logged through
        <command>syslog(3)</command> with the LOG_AUTHPRIV facility.</para>
    </refsect1>

    <refsect1 id='options'>
        <title>OPTIONS</title>
        <variablelist remap='IP'>
            <varlistentry>
                <term>
                    <option>forward_pass</option>
                </term>
                <listitem>
                    <para>If <option>forward_pass</option> is set the entered
                    password is put on the stack for other PAM modules to use.
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>
                    <option>use_first_pass</option>
                </term>
                <listitem>
                    <para>The argument use_first_pass forces the module to use
                    a previous stacked modules password and will never prompt
                    the user - if no password is available or the password is
                    not appropriate, the user will be denied access.</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>
                    <option>use_authtok</option>
                </term>
                <listitem>
                    <para>When password changing enforce the module to set the
                    new password to the one provided by a previously stacked
                    password module.</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>
                    <option>retry=N</option>
                </term>
                <listitem>
                    <para>If specified the user is asked another N times for a
                    password if authentication fails. Default is 0.</para>
                    <para>Please note that this option might not work as
                    expected if the application calling PAM handles the user
                    dialog on its own. A typical example is
                    <command>sshd</command> with
                    <option>PasswordAuthentication</option>.</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsect1>

    <refsect1 id='module_types_provides'>
        <title>MODULE TYPES PROVIDED</title>
        <para>All module types (<option>account</option>, <option>auth</option>,
        <option>password</option> and <option>session</option>) are provided.
        </para>
    </refsect1>

    <refsect1 id='files'>
        <title>FILES</title>
        <para>If a password reset by root fails, because the corresponding SSSD
        provider does not support password resets, an individual message can be
        displayed. This message can e.g. contain instructions about how to reset
        a password.</para>

        <para>The message is read from the file
        <filename>pam_sss_pw_reset_message.LOC</filename> where LOC stands for a
        locale string returned by <citerefentry>
        <refentrytitle>setlocale</refentrytitle><manvolnum>3</manvolnum>
        </citerefentry>. If there is no matching file the content of
        <filename>pam_sss_pw_reset_message.txt</filename> is displayed. Root
        must be the owner of the files and only root may have read and write
        permissions while all other users must have only read
        permissions.</para>

        <para>These files are searched in the directory
        <filename>/etc/sssd/customize/DOMAIN_NAME/</filename>. If no matching
        file is present a generic message is displayed.</para>
    </refsect1>

    <refsect1 id='see_also'>
        <title>SEE ALSO</title>
        <para>
            <citerefentry>
                <refentrytitle>sssd.conf</refentrytitle><manvolnum>8</manvolnum>
            </citerefentry>
        </para>
    </refsect1>
</refentry>
</reference>