summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Das <ddas@redhat.com>2022-10-10 17:55:53 +0530
committerDeepak Das <ddas@redhat.com>2022-11-07 14:30:18 +0530
commitbcbf145ce925934214e48200c27c9ff736452549 (patch)
treef3a2a399c91cc904822d1def065a38b59e468704
parent3790bd4aa373187a36e4667873a178ae50f7ecba (diff)
downloadlinux-pam-git-bcbf145ce925934214e48200c27c9ff736452549.tar.gz
pam_faillock: Clarify missing user faillock files after reboot
* modules/pam_faillock/faillock.conf.5.xml: Adding note related to missing user specific faillock files after reboot. * modules/pam_faillock/pam_faillock.8.xml: Adding note related to missing user specific faillock files after reboot. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2062512
-rw-r--r--modules/pam_faillock/faillock.conf.5.xml4
-rw-r--r--modules/pam_faillock/pam_faillock.8.xml6
2 files changed, 10 insertions, 0 deletions
diff --git a/modules/pam_faillock/faillock.conf.5.xml b/modules/pam_faillock/faillock.conf.5.xml
index 04a84107..8faa5915 100644
--- a/modules/pam_faillock/faillock.conf.5.xml
+++ b/modules/pam_faillock/faillock.conf.5.xml
@@ -44,6 +44,10 @@
The directory where the user files with the failure records are kept. The
default is <filename>/var/run/faillock</filename>.
</para>
+ <para>
+ Note: These files will disappear after reboot on systems configured with
+ directory <filename>/var/run/faillock</filename> mounted on virtual memory.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/modules/pam_faillock/pam_faillock.8.xml b/modules/pam_faillock/pam_faillock.8.xml
index 79bcbbd0..b7b7b0db 100644
--- a/modules/pam_faillock/pam_faillock.8.xml
+++ b/modules/pam_faillock/pam_faillock.8.xml
@@ -327,6 +327,12 @@ session required pam_selinux.so open
<term><filename>/var/run/faillock/*</filename></term>
<listitem>
<para>the files logging the authentication failures for users</para>
+ <para>
+ Note: These files will disappear after reboot on systems configured with
+ directory <filename>/var/run/faillock</filename> mounted on virtual memory.
+ For persistent storage use the option <emphasis>dir=</emphasis> in
+ file <filename>/etc/security/faillock.conf</filename>.
+ </para>
</listitem>
</varlistentry>
<varlistentry>