Robert Manner
523bcbedb6
plugins/python: add example python group plugin
2019-12-14 12:55:42 -07:00
Robert Manner
d8432fca34
plugins/python: add example python policy plugin
2019-12-14 12:55:42 -07:00
Robert Manner
ee856cc4ba
plugins/python: add example io python plugin
2019-12-14 12:55:42 -07:00
Robert Manner
91e6bf8ccd
Makefile.in, configure.ac: add python plugin build
2019-12-14 12:55:42 -07:00
Robert Manner
d888d44594
plugins/python: make group plugin able to debug
...
It does not get the debug settings, so it looks them up through
sudo_conf.
2019-12-14 12:55:42 -07:00
Robert Manner
9b49d44e84
plugins/python: add a sudo python module
2019-12-14 12:55:42 -07:00
Robert Manner
a6bac23bab
plugins/python: add ImportBlocker which forbids loading unsafe python modules
...
If non root can alter any imported python modules, he is able to run
anything he would like to as root user.
This class is a helper to avoid such situation.
This feature can be disabled with 'DeveloperMode=1' plugin option.
2019-12-14 12:55:42 -07:00
Robert Manner
babdcbd031
plugins/python: a plugin which can load policy/io plugin written in python
2019-12-14 12:55:42 -07:00
Robert Manner
311cf122e2
plugins/python: add sudo debug helpers
2019-12-14 12:55:42 -07:00