blob: 1764ec9241a522e71bb9777756b40b4c8e086deb (
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
|
<?xml version="1.0" encoding='UTF-8'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id="pam_warn">
<refmeta>
<refentrytitle>pam_warn</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo>
</refmeta>
<refnamediv id="pam_warn-name">
<refname>pam_warn</refname>
<refpurpose>PAM module which logs all PAM items if called</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis id="pam_warn-cmdsynopsis">
<command>pam_warn.so</command>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id="pam_warn-description">
<title>DESCRIPTION</title>
<para>
pam_warn is a PAM module that logs the service, terminal, user,
remote user and remote host to
<citerefentry>
<refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum>
</citerefentry>. The items are not probed for, but instead obtained
from the standard PAM items. The module always returns
<emphasis remap='B'>PAM_IGNORE</emphasis>, indicating that it
does not want to affect the authentication process.
</para>
</refsect1>
<refsect1 id="pam_warn-options">
<title>OPTIONS</title>
<para>This module does not recognise any options.</para>
</refsect1>
<refsect1 id="pam_warn-types">
<title>MODULE TYPES PROVIDED</title>
<para>
The <option>auth</option>, <option>account</option>,
<option>password</option> and <option>session</option> module
types are provided.
</para>
</refsect1>
<refsect1 id='pam_warn-return_values'>
<title>RETURN VALUES</title>
<variablelist>
<varlistentry>
<term>PAM_IGNORE</term>
<listitem>
<para>
This module always returns PAM_IGNORE.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='pam_warn-examples'>
<title>EXAMPLES</title>
<programlisting>
#%PAM-1.0
#
# If we don't have config entries for a service, the
# OTHER entries are used. To be secure, warn and deny
# access to everything.
other auth required pam_warn.so
other auth required pam_deny.so
other account required pam_warn.so
other account required pam_deny.so
other password required pam_warn.so
other password required pam_deny.so
other session required pam_warn.so
other session required pam_deny.so
</programlisting>
</refsect1>
<refsect1 id='pam_warn-see_also'>
<title>SEE ALSO</title>
<para>
<citerefentry>
<refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>pam.d</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>
</para>
</refsect1>
<refsect1 id='pam_warn-author'>
<title>AUTHOR</title>
<para>
pam_warn was written by Andrew G. Morgan <morgan@kernel.org>.
</para>
</refsect1>
</refentry>
|