Sudo and its alternatives
Sudo and its alternatives
Posted Feb 22, 2024 14:44 UTC (Thu) by farnz (subscriber, #17727)In reply to: Sudo and its alternatives by sionescu
Parent article: Sudo and its alternatives
If it disallows the loading of external code, then you have a serious problem - how exactly am I supposed to configure a system that uses code to configure it, if the system won't load my code?
If it allows loading of external code, I can bundle the external library with my code, and the system can't tell that the external library was downloaded from the Internet rather than written by me.
And the whole reason you have a configuration language for Polkit is that there's lots of different configurations that might make sense; if I have to learn PolKitScript to configure it, then I'm stuck being "the Polkit person"; if it's JavaScript, I can tell someone outside my team to write me the JavaScript for the policy that we want to implement, and simply review it, rather than having to write it as well.