Substitute @prefix@ in for the example paths.
We can't use @exampledir@ here since it contains Makefile variables.
This commit is contained in:
@@ -520,7 +520,7 @@ To try it, register it by adding the following lines to
|
|||||||
.sp
|
.sp
|
||||||
.RS 0n
|
.RS 0n
|
||||||
Plugin python_policy python_plugin.so \e
|
Plugin python_policy python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_policy_plugin.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_policy_plugin.py \e
|
||||||
ClassName=SudoPolicyPlugin
|
ClassName=SudoPolicyPlugin
|
||||||
.RE
|
.RE
|
||||||
.fi
|
.fi
|
||||||
@@ -812,7 +812,7 @@ To try it, register it by adding the following lines to
|
|||||||
.sp
|
.sp
|
||||||
.RS 0n
|
.RS 0n
|
||||||
Plugin python_io python_plugin.so \e
|
Plugin python_io python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_io_plugin.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_io_plugin.py \e
|
||||||
ClassName=SudoIOPlugin
|
ClassName=SudoIOPlugin
|
||||||
.RE
|
.RE
|
||||||
.fi
|
.fi
|
||||||
@@ -906,7 +906,7 @@ file by adding the following lines:
|
|||||||
.sp
|
.sp
|
||||||
.RS 0n
|
.RS 0n
|
||||||
Defaults group_plugin="python_plugin.so \e
|
Defaults group_plugin="python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_group_plugin.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_group_plugin.py \e
|
||||||
ClassName=SudoGroupPlugin"
|
ClassName=SudoGroupPlugin"
|
||||||
.RE
|
.RE
|
||||||
.fi
|
.fi
|
||||||
@@ -1065,7 +1065,7 @@ To try it, register it by adding the following lines to
|
|||||||
.sp
|
.sp
|
||||||
.RS 0n
|
.RS 0n
|
||||||
Plugin python_io python_plugin.so \e
|
Plugin python_io python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_conversation.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_conversation.py \e
|
||||||
ClassName=ReasonLoggerIOPlugin
|
ClassName=ReasonLoggerIOPlugin
|
||||||
.RE
|
.RE
|
||||||
.fi
|
.fi
|
||||||
@@ -1230,7 +1230,7 @@ To try it, register it by adding the following lines to
|
|||||||
.sp
|
.sp
|
||||||
.RS 0n
|
.RS 0n
|
||||||
Plugin python_io python_plugin.so \e
|
Plugin python_io python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_debugging.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_debugging.py \e
|
||||||
ClassName=DebugDemoPlugin
|
ClassName=DebugDemoPlugin
|
||||||
|
|
||||||
Debug python_plugin.so \e
|
Debug python_plugin.so \e
|
||||||
|
@@ -421,7 +421,7 @@ To try it, register it by adding the following lines to
|
|||||||
.Pa @sysconfdir@/sudo.conf :
|
.Pa @sysconfdir@/sudo.conf :
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
Plugin python_policy python_plugin.so \e
|
Plugin python_policy python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_policy_plugin.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_policy_plugin.py \e
|
||||||
ClassName=SudoPolicyPlugin
|
ClassName=SudoPolicyPlugin
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
@@ -655,7 +655,7 @@ To try it, register it by adding the following lines to
|
|||||||
.Pa @sysconfdir@/sudo.conf :
|
.Pa @sysconfdir@/sudo.conf :
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
Plugin python_io python_plugin.so \e
|
Plugin python_io python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_io_plugin.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_io_plugin.py \e
|
||||||
ClassName=SudoIOPlugin
|
ClassName=SudoIOPlugin
|
||||||
.Ed
|
.Ed
|
||||||
.Ss Sudoers group provider plugin API
|
.Ss Sudoers group provider plugin API
|
||||||
@@ -729,7 +729,7 @@ To try it, register it in the
|
|||||||
file by adding the following lines:
|
file by adding the following lines:
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
Defaults group_plugin="python_plugin.so \e
|
Defaults group_plugin="python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_group_plugin.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_group_plugin.py \e
|
||||||
ClassName=SudoGroupPlugin"
|
ClassName=SudoGroupPlugin"
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
@@ -865,7 +865,7 @@ To try it, register it by adding the following lines to
|
|||||||
.Pa @sysconfdir@/sudo.conf :
|
.Pa @sysconfdir@/sudo.conf :
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
Plugin python_io python_plugin.so \e
|
Plugin python_io python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_conversation.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_conversation.py \e
|
||||||
ClassName=ReasonLoggerIOPlugin
|
ClassName=ReasonLoggerIOPlugin
|
||||||
.Ed
|
.Ed
|
||||||
.Ss Information / error display API
|
.Ss Information / error display API
|
||||||
@@ -1002,7 +1002,7 @@ To try it, register it by adding the following lines to
|
|||||||
.Pa @sysconfdir@/sudo.conf :
|
.Pa @sysconfdir@/sudo.conf :
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
Plugin python_io python_plugin.so \e
|
Plugin python_io python_plugin.so \e
|
||||||
ModulePath=/usr/share/doc/sudo/examples/example_debugging.py \e
|
ModulePath=@prefix@/share/doc/sudo/examples/example_debugging.py \e
|
||||||
ClassName=DebugDemoPlugin
|
ClassName=DebugDemoPlugin
|
||||||
|
|
||||||
Debug python_plugin.so \e
|
Debug python_plugin.so \e
|
||||||
|
Reference in New Issue
Block a user