summaryrefslogtreecommitdiff
path: root/docs/sudo_plugin_python.man.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-06-06 08:36:44 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-06-06 08:36:44 -0600
commit9e121ff521e80a0a6e26969399d349c06c480f6b (patch)
tree75af96753d2d84ed9feec78af5c0b5a23ed1aa8d /docs/sudo_plugin_python.man.in
parentbe9c6df46340e6846c6886905201ae2c653acfe6 (diff)
downloadsudo-9e121ff521e80a0a6e26969399d349c06c480f6b.tar.gz
Add EXAMPLES variables for use in the man pages for the examples directory.
Diffstat (limited to 'docs/sudo_plugin_python.man.in')
-rw-r--r--docs/sudo_plugin_python.man.in19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/sudo_plugin_python.man.in b/docs/sudo_plugin_python.man.in
index e2cf4d814..e3e68e878 100644
--- a/docs/sudo_plugin_python.man.in
+++ b/docs/sudo_plugin_python.man.in
@@ -17,7 +17,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.TH "SUDO_PLUGIN_PYTHON" "5" "February 16, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
+.TH "SUDO_PLUGIN_PYTHON" "5" "June 6, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
@@ -184,7 +184,8 @@ The plugin arguments are as follows:
ModulePath
The path of a python file which contains the class of the sudo Python plugin.
It must be either an absolute path or a path relative to the sudo Python plugin
-directory: "@plugindir@/python".
+directory,
+\fI@plugindir@/python\fR.
.TP 6n
ClassName
(Optional.) The name of the class implementing the sudo Python plugin.
@@ -553,7 +554,7 @@ To try it, register it by adding the following lines to
.sp
.RS 0n
Plugin python_policy python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_policy_plugin.py \e
+ ModulePath=@EXAMPLES@/example_policy_plugin.py \e
ClassName=SudoPolicyPlugin
.RE
.fi
@@ -845,7 +846,7 @@ To try it, register it by adding the following lines to
.sp
.RS 4n
Plugin python_io python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_io_plugin.py \e
+ ModulePath=@EXAMPLES@/example_io_plugin.py \e
ClassName=SudoIOPlugin
.RE
.fi
@@ -1161,7 +1162,7 @@ To try it, register it by adding the following lines to
.sp
.RS 4n
Plugin python_audit python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_audit_plugin.py \e
+ ModulePath=@EXAMPLES@/example_audit_plugin.py \e
ClassName=SudoAuditPlugin
.RE
.fi
@@ -1302,7 +1303,7 @@ To try it, register it by adding the following lines to
.sp
.RS 4n
Plugin python_approval python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_approval_plugin.py \e
+ ModulePath=@EXAMPLES@/example_approval_plugin.py \e
ClassName=BusinessHoursApprovalPlugin
.RE
.fi
@@ -1399,7 +1400,7 @@ file by adding the following lines:
.sp
.RS 4n
Defaults group_plugin="python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_group_plugin.py \e
+ ModulePath=@EXAMPLES@/example_group_plugin.py \e
ClassName=SudoGroupPlugin"
.RE
.fi
@@ -1558,7 +1559,7 @@ To try it, register it by adding the following lines to
.sp
.RS 4n
Plugin python_io python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_conversation.py \e
+ ModulePath=@EXAMPLES@/example_conversation.py \e
ClassName=ReasonLoggerIOPlugin
.RE
.fi
@@ -1737,7 +1738,7 @@ To try it, register it by adding the following lines to
.sp
.RS 4n
Plugin python_io python_plugin.so \e
- ModulePath=@prefix@/share/doc/sudo/examples/example_debugging.py \e
+ ModulePath=@EXAMPLES@/example_debugging.py \e
ClassName=DebugDemoPlugin
Debug python_plugin.so \e