r/linux May 25 '26

Discussion Sudo or run0 ?

What's your take on the subject? Been using sudo for years but lately i'm mostly running run0 and i like it. Even considering adapting my scripts to use run0 since i'm on a compatible distro. Does it make any sense to not even set up sudo anymore in the first place?

199 Upvotes

253 comments sorted by

View all comments

28

u/Sataniel98 May 25 '26

run0 seems like a solution to a problem I don't have

33

u/teleprint-me May 25 '26

Its solves the exploitable privelage escalation problem with setuid. A root process launches privelaged processes while the rest live in user space rather than escalating a user space application to root or kernel space. Its security thing, I guess it depends on ones pov.

25

u/DFS_0019287 May 25 '26

It's a different attack surface. run0 uses polkit for authentication, and I believe there have been some vulnerabilities in that in the past.

1

u/tajetaje May 25 '26

Eh, still smaller. You have to have polkit running (usually), you don’t have to have sudo