- cross-posted to:
- linux@lemmy.ml
- cross-posted to:
- linux@lemmy.ml
I can’t wait for systemd to ship its own kernel next year.
Dude, just write down a couple of lines in your posts so that people can know what they’re about.
It’s a phoronix article, there’s never more than two paragraphs and a quote in there anyway.
But why should I visit the website (that by the way now returns 500) to know if I’m interested in the article?
Yall understand that what actually changed is a symlink? That
systemd-run
is now linked fromrun0
, and that’s enough to make a SUID-less sudo?Basically.
systemd-run
was already able to do it, all that really changed is the interface for it. The change torun.c
in the patch itself was <400LOC, and the entire patch was <1.4k lines with most being docs, tests and utils for coloring the terminal.Didn’t know this, thanks for sharing!
Does it give alternative to
sudo -e
(sudoedit) too?As the other comment said, no. But I’ve had the idea and will to at some point write a
edit
script (that I can just setEDITOR=
to) that would just choose one of the first common editors. That could in theory have a-0
option to run as root (there also probably looking throughrun0
,doas
,sudo
andsu
). Not the editor, but doing the editing on a temp file and then copying with rootOut of the box no. But it would be easy to implement if you don’t need very complex rules. (I don’t actually know how permissions work for sudoedit.)