3 ms·
Its equivalent to polkit
by stop50 3y ago
Its equivalent to polkit
- phendrenad2 3y agoPolkit is a very badly-designed, poorly-executed imitation of UAC. UAC is an operating-system-level system that heuristically detects when an executable is acting as an installer, and prompts the user with a Yes/No prompt (you can see screenshots online). This even works if you're running a terminal command. Terminal command needs administrator access? You get a blocking, modal dialog from the system that forces you to click Yes or No. That's very powerful. Polkit is a component for controlling system-wide privileges in Unix-like operating systems, the manpage is less than 2 pages.
- MartijnBraam 3y agoIt's not heuristics, it's executable metadata
- phendrenad2 3y agoThe official UAC docs disagree
- realitythreek 3y agoI thought you were wrong about how UAC worked, and then I went looking through Windows Vista docs on UAC and you’re absolutely right. And that’s batshit insane!
- BenjiWiebe 3y agoTerminal commands don't work that way. Open a command prompt, type 'sc stop spooler', and observe the 'Access Denied' message and the lack of a UAC prompt.
- tiberious726 3y agoRead the parent, that's not an installer, you are, like me up until this very moment, assuming UAC is sensible