[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Mock and consolehelper



I have noticed that mock in Rawhide has been changed to drop the SUID helper, 
instead consolehelper is used to run the entire mock as root. IMHO, this is a 
regression:
* It now means you have to know the root password to run mock. Before, it was 
possible to give out mock access and only that simply by making the user a 
member of the mockbuild group. Now the only way to do that is to allow running 
all of mock as root, which probably opens up several ways to get full root 
access from there.
* It means mock has to be run interactively. What are the implications of this 
on the builders? Will they have to install all of mock SUID root, or set up 
consolehelper in a way which effectively does the same?
* It reduces security, as instead of a small helper doing only a few controlled 
operations, you now run all of mock as root. Sure, it's Python, so buffer 
overflows probably can't happen, but still, trigger any bug in mock with a 
trojaned SRPM and you have root.

        Kevin Kofler


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]