1
0
Fork
You've already forked sudo-approve-command
0
Plugin for sudo to print command info and require approval
  • C++ 61.5%
  • Meson 38.5%
2025年09月09日 16:50:29 +02:00
.clang-format Initial import 2025年06月26日 16:47:04 +02:00
.gitignore Ignore clangd files 2025年09月09日 16:50:29 +02:00
COPYING Initial import 2025年06月26日 16:47:04 +02:00
meson.build Mark unused parameters as such 2025年09月09日 16:49:20 +02:00
plugin.cxx Mark unused parameters as such 2025年09月09日 16:49:20 +02:00
README.md Initial import 2025年06月26日 16:47:04 +02:00
sudo-approve-command.spec.rpkg Add RPM spec using rpkg-util 2025年06月26日 17:33:21 +02:00
sudo_plugin.hxx Initial import 2025年06月26日 16:47:04 +02:00

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