aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_access/pam_access.8.xml
diff options
context:
space:
mode:
authorAndreas Vögele <andreas@andreasvoegele.com>2024-01-05 12:08:29 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-13 08:00:00 +0000
commit2894abec4d2bf487348994f1703671a5e039c0f9 (patch)
treee084e59f79ddbc1598a6e3b4350ab647f7ca96f9 /modules/pam_access/pam_access.8.xml
parentf531148ae4920eced517cf9e89108510ec59f32a (diff)
downloadpam-2894abec4d2bf487348994f1703671a5e039c0f9.tar.gz
pam-2894abec4d2bf487348994f1703671a5e039c0f9.tar.bz2
pam-2894abec4d2bf487348994f1703671a5e039c0f9.zip
pam_access: add quiet_log option
If quiet_log option is specified, no "access denied" message is logged. * modules/pam_access/pam_access.c (struct login_info): Add quiet_log. (parse_args): Initialize it. (pam_sm_authenticate): Use it. * modules/pam_access/pam_access.8.xml: Document quiet_log option. Closes: https://github.com/linux-pam/linux-pam/issues/706
Diffstat (limited to 'modules/pam_access/pam_access.8.xml')
-rw-r--r--modules/pam_access/pam_access.8.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/modules/pam_access/pam_access.8.xml b/modules/pam_access/pam_access.8.xml
index 010e749e..c991d7a0 100644
--- a/modules/pam_access/pam_access.8.xml
+++ b/modules/pam_access/pam_access.8.xml
@@ -29,6 +29,9 @@
noaudit
</arg>
<arg choice="opt" rep="norepeat">
+ quiet_log
+ </arg>
+ <arg choice="opt" rep="norepeat">
accessfile=<replaceable>file</replaceable>
</arg>
<arg choice="opt" rep="norepeat">
@@ -131,6 +134,18 @@
<varlistentry>
<term>
+ quiet_log
+ </term>
+ <listitem>
+ <para>
+ Do not log denials with
+ <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
fieldsep=separators
</term>
<listitem>
@@ -286,4 +301,4 @@
was developed and provided by Mike Becher &lt;mike.becher@lrz-muenchen.de&gt;.
</para>
</refsect1>
-</refentry> \ No newline at end of file
+</refentry>