←back to thread

466 points CoolCold | 3 comments | | HN request time: 0.745s | source
Show context
abridgett ◴[] No.40212909[source]
I'm not sure it can replace non-trivial setups - sudo/doas looks set to stay.

e.g when you need to restrict a set of users to run only certain applications with certain other users. sudo can do this (even if the config format can be painful).

replies(4): >>40213044 #>>40213750 #>>40215140 #>>40215759 #
agwa ◴[] No.40215759[source]
Good news! run0 will use polkit[1], which uses JavaScript for its rules[2], so there's no limit to how complex your rules can get!

On the other hand, maybe adding a JavaScript interpreter to Linux's trusted computing base isn't good news...

[1] https://mastodon.social/@pid_eins/112353420303876549

[2] https://www.freedesktop.org/software/polkit/docs/latest/polk...

replies(2): >>40216026 #>>40216997 #
1. akira2501 ◴[] No.40216026[source]
If the lesson of xz was "reduce supply chain attack surface" then the freedesktop people clearly haven't received it yet.
replies(1): >>40218506 #
2. bmicraft ◴[] No.40218506[source]
Fedora has used PolKit for 12 years now, and the javascript rules have probably been a thing for about as long.
replies(1): >>40221373 #
3. akira2501 ◴[] No.40221373[source]
Doctors recommended cigarettes for decades. What should give everyone similar pause is xz was found unintentionally.