I am soon going to unleash an abomination, Unix::Sudo, upon an
unsuspecting innocent world. It runs a block of code as root:
$uid = $<; # ordinary user
$uid = sudo { $< }; # root
$uid = $<; # back to the ordinary user
The tests will ask for your password, and I would be very grateful if
you would consider allowing it to run - but please read the source
first, for both the module and the tests.
https://github.com/DrHyde/perl-modules-Unix-Sudo
Alternatively, consider this a warning that you might like to
pre-emptively block it from running on your machines :-)
--
David Cantrell