225
Systemd Looks to Replace sudo with run0
(news.itsfoss.com)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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.
I HAVE heard about thefuck!
@theshatterstone54 @reallyzen it's new to me. I'm keen to have this!
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 examplertfm
fortldr
andrtfmp
(read the fucking man page) forman
. I also usefucking
for sudo. There's nothing better than runningpacman -Syu
, realizing the mistake and then typing infucking pacman -Syu
BRB, got a dotfile to edit real quick
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.