Files
sudo/plugins/sample
Todd C. Miller 4c182c90f1 Rename "fuzz" makefile target to "check-fuzzer".
It's purpose is to run the fuzzers are part of a normal "make check"
to avoid bit rot, not to perform a fuzzer run.
The fuzz_logsrvd_conf fuzzer was not wired up to "make check" previously.
2021-03-18 09:08:16 -06:00
..
2012-06-20 12:58:16 -04:00

This is a sample sudo policy plugin.  See the sudo_plugin manual for
information on writing your own plugin.

The sample policy plugin is not built or installed by default.  To
build and install the plugin, change to the plugins/sample directory
and run "make".  It can be installed by running "make install" as
the superuser from the same directory.

To actually use the sample plugin, you'll need to modify the
/etc/sudo.conf file.  Caution: you should not make changes to
/etc/sudo.conf without also having a root shell open repair things
in case of an error.  To enable the plugin, first comment out any
existing policy Plugin line in /etc/sudo.conf, for example:

    Plugin sudoers_policy sudoers.so

Then add a line for the sample plugin:

    Plugin sample_policy sample_plugin.so

You may need to create /etc/sudo.conf if it does not already exist.

Note that you may only have a single policy plugin defined.