commit d332be7fa933f5424abee6c7e385f0de174603d2
Author: Tomas Mraz <tmraz(a)fedoraproject.org>
Date: Thu Mar 20 10:46:13 2014 +0100
pam_userdb: document that .db suffix should not be used
modules/pam_userdb/pam_userdb.8.xml: Document that .db suffix
should not be used and correct the example.
modules/pam_userdb/pam_userdb.8.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/modules/pam_userdb/pam_userdb.8.xml b/modules/pam_userdb/pam_userdb.8.xml
index ba97152..fa628ad 100644
--- a/modules/pam_userdb/pam_userdb.8.xml
+++ b/modules/pam_userdb/pam_userdb.8.xml
@@ -89,7 +89,8 @@
Use the <filename>/path/database</filename> database for
performing lookup. There is no default; the module will
return <emphasis remap='B'>PAM_IGNORE</emphasis> if no
- database is provided.
+ database is provided. Note that the path to the database file
+ should be specified without the <filename>.db</filename> suffix.
</para>
</listitem>
</varlistentry>
@@ -260,7 +261,7 @@
<refsect1 id='pam_userdb-examples'>
<title>EXAMPLES</title>
<programlisting>
-auth sufficient pam_userdb.so icase db=/etc/dbtest.db
+auth sufficient pam_userdb.so icase db=/etc/dbtest
</programlisting>
</refsect1>
Show replies by date