Hacker News new | past | comments | ask | show | jobs | submit login

I like the investigation into various cruft that Ubuntu installs (and runs) that can safely be turned off.

Goodbye polkit!




Uh, wait. Can't really get rid of policykit-1 on Ubuntu desktop, I think. Maybe server.

Pretty OT, but does anyone know if that's true (or worthwhile?)?


To be a bit snarky, polkit is freedesktop dbus centric (and thus over-engineered) reimplementation of sudo for the GUI.

It uses a session tracker (used to be Consolekit, these days it is systemd-logind) to tell if something is running under an active user session and, and checks that against a bunch of rules (stored in XML, natch) to see if what is being attempted is allows (and if not, spawn a password prompt so the user can elevate their privileges).

If you want to do anything "complicated" like powering down your PC by clicking a button in your DE of choice you need polkit (and entourage) to be present these days.

Its one of those CADT things that seems to lead to "year of the (linux) desktop" never happening.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: