doc: Document PAM_WRAPPER_USE_SYSLOG variable
authorAndreas Schneider <asn@samba.org>
Thu, 6 Apr 2017 09:51:32 +0000 (11:51 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 6 Apr 2017 11:42:02 +0000 (13:42 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
doc/pam_wrapper.1
doc/pam_wrapper.1.txt

index 0d737a9b0d46b5e40a18ef7d367acb75d7b9d058..3536c821cb915f71459e863daa2aa405339d658a 100644 (file)
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: pam_wrapper
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
-.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 2015-11-04
+.\" Generator: DocBook XSL Stylesheets v1.79.0 <http://docbook.sf.net/>
+.\"      Date: 2017-04-06
 .\"    Manual: \ \&
 .\"    Source: \ \&
 .\"  Language: English
 .\"
-.TH "PAM_WRAPPER" "1" "2015\-11\-04" "\ \&" "\ \&"
+.TH "PAM_WRAPPER" "1" "2017\-04\-06" "\ \&" "\ \&"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -100,6 +100,11 @@ If you need to see what is going on in pam_wrapper itself or try to find a bug,
 .RE
 .RE
 .PP
+\fBPAM_WRAPPER_USE_SYSLOG\fR
+.RS 4
+By default pam logs will go to the pam_wrapper DEBUG log level and will not be sent to the syslog\&. If you want to log to the syslog to you can set this variable to 1\&.
+.RE
+.PP
 \fBPAM_WRAPPER_KEEP_DIR\fR
 .RS 4
 If this option is set to 1, then pam_wrapper won\(cqt delete its temporary directories\&. Mostly useful for pam_wrapper development\&.
@@ -123,7 +128,7 @@ session         required        /usr/lib/pam_wrapper/pam_matrix\&.so passdb=/pat
 .sp
 The name of the file should represent the service name used by your PAM application\&.
 .sp
-LD_PRELOAD=\&./libpam_wrapper\&.so PAM_WRAPPER=1 PAM_WRAPPER_SERVICE_DIR=pam_services/ \&./my_pam_app
+LD_PRELOAD=\&./libpam_wrapper\&.so PAM_WRAPPER=1 PAM_WRAPPER_SERVICE_DIR=\&./pam_services \&./my_pam_app
 .SH "PAM_MATRIX"
 .sp
 We offer a module to make testing of PAM applications easier\&. You find more information in the pam_matrix(8) manpage\&.
index 0a8ba51783032e3aa8ec924edd098d6101563fcb..1e93fba95fb0e5557592083d9db000f3a87af056 100644 (file)
@@ -1,6 +1,6 @@
 pam_wrapper(1)
 ==============
-:revdate: 2015-11-04
+:revdate: 2017-04-06
 
 NAME
 ----
@@ -52,6 +52,12 @@ debug symbols.
 - 2 = DEBUG
 - 3 = TRACE
 
+*PAM_WRAPPER_USE_SYSLOG*::
+
+By default pam logs will go to the pam_wrapper DEBUG log level and will not
+be sent to the syslog. If you want to log to the syslog to you can set this
+variable to 1.
+
 *PAM_WRAPPER_KEEP_DIR*::
 
 If this option is set to 1, then pam_wrapper won't delete its temporary