Debian Codegraph @

upstream/debian-unstable/man8/pam_warn.8

raw
1 '\" t
2 .\" Title: pam_warn
3 .\" Author: [see the "AUTHOR" section]
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
5 .\" Date: 06/29/2025
6 .\" Manual: Linux-PAM Manual
7 .\" Source: Linux-PAM
8 .\" Language: English
9 .\"
10 .TH "PAM_WARN" "8" "06/29/2025" "Linux\-PAM" "Linux\-PAM Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 pam_warn \- PAM module which logs all PAM items if called
32 .SH "SYNOPSIS"
33 .HP \w'\fBpam_warn\&.so\fR\ 'u
34 \fBpam_warn\&.so\fR
35 .SH "DESCRIPTION"
36 .PP
37 pam_warn is a PAM module that logs the service, terminal, user, remote user and remote host to
38 \fBsyslog\fR(3)\&. The items are not probed for, but instead obtained from the standard PAM items\&. The module always returns
39 \fBPAM_IGNORE\fR, indicating that it does not want to affect the authentication process\&.
40 .SH "OPTIONS"
41 .PP
42 This module does not recognise any options\&.
43 .SH "MODULE TYPES PROVIDED"
44 .PP
45 The
46 \fBauth\fR,
47 \fBaccount\fR,
48 \fBpassword\fR
49 and
50 \fBsession\fR
51 module types are provided\&.
52 .SH "RETURN VALUES"
53 .PP
54 PAM_IGNORE
55 .RS 4
56 This module always returns PAM_IGNORE\&.
57 .RE
58 .SH "EXAMPLES"
59 .sp
60 .if n \{\
61 .RS 4
62 .\}
63 .nf
64 #%PAM\-1\&.0
65 #
66 # If we don\*(Aqt have config entries for a service, the
67 # OTHER entries are used\&. To be secure, warn and deny
68 # access to everything\&.
69 other auth required pam_warn\&.so
70 other auth required pam_deny\&.so
71 other account required pam_warn\&.so
72 other account required pam_deny\&.so
73 other password required pam_warn\&.so
74 other password required pam_deny\&.so
75 other session required pam_warn\&.so
76 other session required pam_deny\&.so
77
78 .fi
79 .if n \{\
80 .RE
81 .\}
82 .SH "SEE ALSO"
83 .PP
84 \fBpam.conf\fR(5),
85 \fBpam.d\fR(5),
86 \fBpam\fR(7)
87 .SH "AUTHOR"
88 .PP
89 pam_warn was written by Andrew G\&. Morgan <morgan@kernel\&.org>\&.