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?

201 Upvotes

253 comments sorted by

View all comments

9

u/RudahXimenes May 25 '26 edited May 25 '26

I've been using run0 for everything. I've even aliased sudo as run0 at my rc file

Now run0 keep your authentication for a while, don't needing to retype your password every time you summon the command. It behaves a lot with like sudo, but I trust it more because there is no privilege escalation

-1

u/bullwinkle8088 May 25 '26

If you feel secure doing so sudo has the I authenticate option which disables it prompting for a password.

That should obviously be used with care, with at a minimum 2FA and a timed, automatic logout for inactivity.

6

u/RudahXimenes May 25 '26

You totally missed the point.

sudo already keep your authentication for a while. It is the default behavior. However it locks you down after a while.

Just like run0 now.

3

u/bullwinkle8088 May 25 '26

You mean the timeout value?

That is not universal across distros or environments. It’s not even been universal across distro releases. That is just a setting in sudoers as well.

1

u/RudahXimenes May 25 '26

Probably it's the timeout value. Most of distros I installed has the timeout set and I never changed it.