The kdbuswreck
The kdbuswreck
Posted Apr 24, 2015 17:32 UTC (Fri) by cesarb (subscriber, #6266)In reply to: The kdbuswreck by meuh
Parent article: The kdbuswreck
Setuid binaries could be replaced by services. For instance, instead of a setuid-root "passwd" executable, have a non-setuid executable which talks to a "passwd" service running as root.
In this example, the "passwd" service could have only the capabilities it needs (for instance, read-write access to /etc/shadow), and the non-setuid executable could also have only the capabilities it needs (for instance, read-write access to its tty). The service could be spawned on-demand by a system-wide process launcher.
