src/load_plugins, plugins/sudoers: added developer_mode sudo.conf option

It can be used to disable the enforcement that a plugin (shared object or
an imported python module) must be owned by root and not modifiable by
others.
This can make plugin development easier.
This commit is contained in:
Robert Manner
2019-12-10 12:30:15 +01:00
committed by Todd C. Miller
parent 6710048c8d
commit c0d53d75eb
17 changed files with 76 additions and 18 deletions

View File

@@ -72,6 +72,8 @@ sudo_conf_dump(void)
struct sudo_debug_file *debug_file;
struct plugin_info *info;
printf("Set developer_mode %s\n",
sudo_conf_developer_mode() ? "true" : "false");
printf("Set disable_coredump %s\n",
sudo_conf_disable_coredump() ? "true" : "false");
printf("Set group_source %s\n",