Systemd Looks to Replace sudo with run0

petsoi@discuss.tchncs.de to Linux@lemmy.ml – 222 points –
news.itsfoss.com
144

You are viewing a single comment

Sounds good. It's a win win. People that doesn't like the system d implementation can use doas or keep sudo. I Hate the name though. Run0 is dumb can't they just steal the name doas

I'll just use an alias; sudo has been around for to long for me to change it and not be stressed about it.

Reminds me of when I aliased 'man' to 'rtfm'

Sir, your thinking is certainly what kids call "next-level".

Best alias confirmed

proceeds to add it to .bashrc and .zshrc

You guys know that there's an actual rtfm app that condenses the output of man to human-readable stuff right? Right??

Wait, what?

Of course. . ...I was wrong and it is tldr not rtfm.

https://github.com/tldr-pages/tldr

But surely you heard about TheFuck?

https://github.com/nvbn/thefuck

There's actually an rtfm package in Arch's aur, but it just opens the archwiki for you which just adds that tiny bit of... of That Arch Way Of Doing Things I guess.

Link to GitHub?

My bad: it's tldr not rtfm

Me too I have stupid disputable aliases...

https://github.com/tldr-pages/tldr

Oh yeah I know about tldr. It's pretty great. I actually use a Rust version of it called teeldeer. I also have a whole lot of "disputable" aliases, for example rtfm for tldr and rtfmp (read the fucking man page) for man. I also use fucking for sudo. There's nothing better than running pacman -Syu, realizing the mistake and then typing in fucking pacman -Syu

Well, since doas has a Linux implementation, stealing that name would cause lots of issues to users who already use it or want to use doas instead of run0. This will be a default part of systemd; not a new package. The reason it's called run0 is because it's just a symbolic link to systemd-run, and instead of executing as an SUID binary, like sudo or doas, it runs using the current user's UID.