mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
plugins/python/plugin_common: add a default search path for python plugins
If the ModulePath is relative, assume it is under "/usr/local/libexec/sudo/python" or wherever the sudo plugins are in a "python" subdirectory.
This commit is contained in:
committed by
Todd C. Miller
parent
34972e834f
commit
5c96b4407d
@@ -153,6 +153,8 @@ The plugin arguments are as follows:
|
||||
.Bl -tag -width 4n
|
||||
.It 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".
|
||||
.It ClassName
|
||||
The name of the class implementing the sudo Python plugin.
|
||||
.El
|
||||
|
Reference in New Issue
Block a user