summaryrefslogtreecommitdiff
path: root/modules/pam_nologin/pam_nologin.8.xml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_nologin/pam_nologin.8.xml')
-rw-r--r--modules/pam_nologin/pam_nologin.8.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/pam_nologin/pam_nologin.8.xml b/modules/pam_nologin/pam_nologin.8.xml
index b30b6bed..94c4887b 100644
--- a/modules/pam_nologin/pam_nologin.8.xml
+++ b/modules/pam_nologin/pam_nologin.8.xml
@@ -33,10 +33,10 @@
<para>
pam_nologin is a PAM module that prevents users from logging into
- the system when <filename>/etc/nologin</filename> exists. The contents
- of the <filename>/etc/nologin</filename> file are displayed to the
- user. The pam_nologin module has no effect on the root user's ability
- to log in.
+ the system when <filename>/var/run/nologin</filename> or
+ <filename>/etc/nologin</filename>exists. The contents
+ of the file are displayed to the user. The pam_nologin module
+ has no effect on the root user's ability to log in.
</para>
</refsect1>
@@ -51,6 +51,7 @@
<listitem>
<para>
Use this file instead the default
+ <filename>/var/run/nologin</filename> or
<filename>/etc/nologin</filename>.
</para>
</listitem>
@@ -107,7 +108,7 @@
<listitem>
<para>
Success: either the user is root or the
- <filename>/etc/nologin</filename> file does not exist.
+ nologin file does not exist.
</para>
</listitem>
</varlistentry>