Add EXAMPLES variables for use in the man pages for the examples directory.
This commit is contained 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
|
||||
|
Reference in New Issue
Block a user