summaryrefslogtreecommitdiff
path: root/modules/pam_pwhistory/pam_pwhistory.8.xml
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2011-06-15 20:48:59 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2011-06-15 20:52:26 +0200
commitff7c230341fc4bd2266b9ddaf39d83683f12c040 (patch)
tree7992e99be138233c33347c4a90745069e902adfe /modules/pam_pwhistory/pam_pwhistory.8.xml
parent62748f7df90225dc0635944ef59e6e4754c302c0 (diff)
Cleanups of pam_pwhistory code. Make opasswd entry parsing more robust.
* modules/pam_pwhistory/opasswd.c (check_old_password): Do not needlessly call strdupa(). (save_old_password): Avoid memleaks in error paths. Avoid memleak of buf. Make the opasswd entry parsing more robust. * modules/pam_pwhistory/pam_pwhistory.8.xml: Document the special meaning of remember=0.
Diffstat (limited to 'modules/pam_pwhistory/pam_pwhistory.8.xml')
-rw-r--r--modules/pam_pwhistory/pam_pwhistory.8.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/pam_pwhistory/pam_pwhistory.8.xml b/modules/pam_pwhistory/pam_pwhistory.8.xml
index 7696353f..9e1056b2 100644
--- a/modules/pam_pwhistory/pam_pwhistory.8.xml
+++ b/modules/pam_pwhistory/pam_pwhistory.8.xml
@@ -105,7 +105,9 @@
<para>
The last <replaceable>N</replaceable> passwords for each
user are saved in <filename>/etc/security/opasswd</filename>.
- The default is <emphasis>10</emphasis>.
+ The default is <emphasis>10</emphasis>. Value of
+ <emphasis>0</emphasis> makes the module to keep the existing
+ contents of the <filename>opasswd</filename> file unchanged.
</para>
</listitem>
</varlistentry>