News for hackers. Stuff that matters.
Re:Privilege escalation with polkit: How to get root on Linu... by dane-pgp on Thursday June 10, 2021 @06:35PM (#27466749)
> It’s used by systemd, so any Linux distribution that uses systemd also uses polkit.

I can't help imagining a distro developer looking out at systemd across a lava field and saying:

"You were the chosen one! It was said that you would destroy the badly designed legacy components, not join them!"

Re:Privilege escalation with polkit: How to get root on Linu... by flatiron on Thursday June 10, 2021 @07:24PM (#27467352)
Take a look at the bug. It’s polkit defaulting to 0 if dbus is down for the UID. A terrible but understandable default. It has absolutely nothing to do with the systemd structure other than being a component with a bug.
Re:Privilege escalation with polkit: How to get root on Linu... by jimis on Friday June 11, 2021 @11:14AM (#27474484)
Defaulting to root UID is not an understandable default.

Systemd requiring polkit is a valid issue.

Re:Privilege escalation with polkit: How to get root on Linu... by flatiron on Friday June 11, 2021 @12:40PM (#27475523)
Defaulting an int to 0 is understandable. Defaulting a uid to 0 is terrible (if you reread my response that’s what I said)
Re:Privilege escalation with polkit: How to get root on Linu... by zxzax on Thursday June 10, 2021 @09:13PM (#27468185)
The quoted statement is not entirely accurate, polkit is compile-time optional in systemd. Though most distributions will use it because it's an enhancement over the even older sudo-type authentication mechanisms.