summaryrefslogtreecommitdiff
path: root/modules/pam_userdb
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2014-03-20 10:46:13 +0100
committerTomas Mraz <tmraz@fedoraproject.org>2014-03-20 10:46:13 +0100
commitd332be7fa933f5424abee6c7e385f0de174603d2 (patch)
tree95e24dcf7a70e2cbd31e4631daabad745a332158 /modules/pam_userdb
parentda695db7a453b1e2a5ef63fcca21d59a2ed75dda (diff)
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.
Diffstat (limited to 'modules/pam_userdb')
-rw-r--r--modules/pam_userdb/pam_userdb.8.xml5
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 ba971526..fa628ada 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>