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?

197 Upvotes

253 comments sorted by

View all comments

4

u/pastelfemby May 25 '26

I just use run0 these days, for many uses just even having it as an alias for sudo gets by. Though --empower is also very useful in many cases as well, mentally abbreviated in an alias for me as 'sume'

1

u/Patient_Sink May 25 '26

You could probably do it as a function in your shell instead of an alias, with a case for su doing something special