linux-pam: Mention kernel AUDIT configuration

pam_loginuid.so will do nothing if AUDIT not enabled.
This commit is contained in:
Xi Ruoyao 2024-03-02 18:03:00 +08:00
parent 7e3400eb44
commit 5150d54da7
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1 @@
AUDIT='*'

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!-- Automatically generated by kernel-config.py
DO NOT EDIT! -->
<screen><emphasis role='blue'>G</emphasis>eneral setup ---&gt;
[*] <emphasis role='blue'>A</emphasis>uditing support [AUDIT]</screen>

View File

@ -138,6 +138,29 @@
</sect2>
<sect2 role="kernel" id="linux-pam-kernel">
<title>Kernel Configuration</title>
<para>
For the PAM module <filename
class='libraryfile'>pam_loginuid.so</filename> (referred by
the PAM configuration file <filename>system-session</filename> if
<phrase revision='sysv'><xref linkend='elogind'/> is
built</phrase><phrase revision='systemd'><xref linkend='systemd'/> is
rebuilt with PAM support</phrase> later) to work,
a kernel configuration parameter need to be set or the module will
just do nothing:
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="linux-pam-kernel.xml"/>
<indexterm zone="linux-pam linux-pam-kernel">
<primary sortas="d-linux-pam">Linux-PAM</primary>
</indexterm>
</sect2>
<sect2 role="installation">
<title>Installation of Linux PAM</title>