summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/Makefile.am7
-rw-r--r--man/pamtest.1.xml.in50
2 files changed, 55 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index b51499c..5d2f1c8 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -16,9 +16,9 @@
# along with pam_dotfile; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-man_MANS = pam-dotfile-gen.1 pam-dotfile-helper.8
+man_MANS = pam-dotfile-gen.1 pam-dotfile-helper.8 pamtest.1
-EXTRA_DIST = $(man_MANS) pam-dotfile-helper.8.xml.in pam-dotfile-gen.1.xml.in
+EXTRA_DIST = $(man_MANS) pam-dotfile-helper.8.xml.in pam-dotfile-gen.1.xml.in pamtest.1.xml.in
if USE_XMLTOMAN
@@ -30,4 +30,7 @@ pam-dotfile-gen.1: pam-dotfile-gen.1.xml.in Makefile
pam-dotfile-helper.8: pam-dotfile-helper.8.xml.in Makefile
sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' --e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' $< | xmltoman - > $@
+pamtest.1: pamtest.1.xml.in Makefile
+ sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' --e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' $< | xmltoman - > $@
+
endif
diff --git a/man/pamtest.1.xml.in b/man/pamtest.1.xml.in
new file mode 100644
index 0000000..8d7d317
--- /dev/null
+++ b/man/pamtest.1.xml.in
@@ -0,0 +1,50 @@
+<?xml version="1.0" standalone='no'?>
+<!-- <!DOCTYPE spec SYSTEM "man.dtd"> -->
+
+<!--
+ This file is part of pam_dotfile.
+
+ pam_dotfile is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ pam_dotfile is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with pam_dotfile; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+-->
+ <manpage name="pamtest" section="1" desc="test pam configuration">
+
+ <synopsis>
+ <cmd>pamtest<arg> service [username]</arg></cmd>
+ </synopsis>
+
+ <description>
+
+ <p>pamtest is a utility to test authentication through
+ PAM. It will try to authenticate against the pecified service,
+ and print a message if this was successful or not.
+ </p>
+
+ <p>pamtest is part of pam-dotfile.</p>
+
+ </description>
+
+ <section name="Author">
+ <p>pam-dotfile was written by Lennart Poettering
+ &lt;@PACKAGE_BUGREPORT@&gt;. pam-dotfile is available
+ at <url href="@PACKAGE_URL@"/> </p>
+ </section>
+
+ <section name="Comments">
+ <p>This man page was written using <manref name="xmltoman" section="1"
+ href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>
+ </section>
+
+ </manpage>