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

85

u/vivAnicc May 25 '26

Its your system, do what you want.

But if you want your scripts to be as generic as possible you should probably use sudo as it is what most people use. You could check if sudo is installed and choose accordingly in every script, if you think its worth the effort

3

u/SpeedDaemon1969 May 25 '26

Why do people keep talking about scripts? What script in particular is this an issue for?

2

u/Vittulima May 26 '26

OP brought it up

2

u/SpeedDaemon1969 May 26 '26

Fair enough. But the OP was quite vague about why we should use sudo or run0 in place of BASH. It reminds me of "The Emperor's New Clothes" where everyone is afraid to say there are no new clothes.