aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_lastlog/pam_lastlog.8.xml
diff options
context:
space:
mode:
authorTomas Mraz <tm@t8m.info>2008-09-30 14:40:39 +0000
committerTomas Mraz <tm@t8m.info>2008-09-30 14:40:39 +0000
commitc6e6da3915c87e210c24d3c24b7303c59004e98c (patch)
treeb83aabf34f64356ede04c8e454856e6c87cbd041 /modules/pam_lastlog/pam_lastlog.8.xml
parent85dcbd2d2b9d1cd57e628599703dd28326478720 (diff)
downloadpam-c6e6da3915c87e210c24d3c24b7303c59004e98c.tar.gz
pam-c6e6da3915c87e210c24d3c24b7303c59004e98c.tar.bz2
pam-c6e6da3915c87e210c24d3c24b7303c59004e98c.zip
Relevant BUGIDs:
Purpose of commit: new feature Commit summary: --------------- 2008-09-30 Tomas Mraz <t8m@centrum.cz> * modules/pam_lastlog/pam_lastlog.8.xml: Document new options noupdate and showfailed. * modules/pam_lastlog/pam_lastlog.c(pam_parse): Recognize the new options. (last_login_read): New output parameter lltime. Do not display the last login message if it would be empty. (last_login_date): New output parameter lltime. Do not write the last login info when LASTLOG_UPDATE is not set. (last_login_failed): New function to display the last bad login attempt from btmp. (pam_sm_open_session): Obtain lltime from last_login_date() and call last_login_failed() when appropriate.
Diffstat (limited to 'modules/pam_lastlog/pam_lastlog.8.xml')
-rw-r--r--modules/pam_lastlog/pam_lastlog.8.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/pam_lastlog/pam_lastlog.8.xml b/modules/pam_lastlog/pam_lastlog.8.xml
index f066ac6a..f1fffa89 100644
--- a/modules/pam_lastlog/pam_lastlog.8.xml
+++ b/modules/pam_lastlog/pam_lastlog.8.xml
@@ -39,6 +39,12 @@
<arg choice="opt">
nowtmp
</arg>
+ <arg choice="opt">
+ noupdate
+ </arg>
+ <arg choice="opt">
+ showfailed
+ </arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -137,6 +143,28 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <option>noupdate</option>
+ </term>
+ <listitem>
+ <para>
+ Don't update any file.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option>showfailed</option>
+ </term>
+ <listitem>
+ <para>
+ Display number of failed login attempts and the date of the
+ last failed attempt from btmp. The date is not displayed
+ when <option>nodate</option> is specified.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>