Plugin for sudo to print command info and require approval
- C++ 61.5%
- Meson 38.5%
|
|
||
|---|---|---|
| .clang-format | Initial import | |
| .gitignore | Ignore clangd files | |
| COPYING | Initial import | |
| meson.build | Mark unused parameters as such | |
| plugin.cxx | Mark unused parameters as such | |
| README.md | Initial import | |
| sudo-approve-command.spec.rpkg | Add RPM spec using rpkg-util | |
| sudo_plugin.hxx | Initial import | |
sudo-approve-command
A plugin for sudo that prints information about the command that is to be run and allows you to approve or reject running it.
Useful for tools that (think that they) need to run as root and just call sudo themselves.
Usage
sudo dnf install sudo-devel # or equivalent
meson setup -Dbuildtype=release _build
meson compile -C _build
meson install -C _build
sudoedit /etc/sudo.conf
# Insert: Plugin approve_command approve_command.so
# You may need to specify the absolute path to approve_command.so