• peregus@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    5 months ago

    Dude, just write down a couple of lines in your posts so that people can know what they’re about.

    • anyhow2503@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      5 months ago

      It’s a phoronix article, there’s never more than two paragraphs and a quote in there anyway.

      • peregus@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        3
        ·
        5 months ago

        But why should I visit the website (that by the way now returns 500) to know if I’m interested in the article?

  • OpFARv30@lemmy.ml
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    5 months ago

    Yall understand that what actually changed is a symlink? That systemd-run is now linked from run0, and that’s enough to make a SUID-less sudo?

    • NekkoDroid@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      Basically. systemd-run was already able to do it, all that really changed is the interface for it. The change to run.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.

  • ghu@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    5 months ago

    Does it give alternative to sudo -e (sudoedit) too?

    • NekkoDroid@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 months ago

      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 set EDITOR= 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 through run0, doas, sudo and su). Not the editor, but doing the editing on a temp file and then copying with root

    • kevincox@lemmy.mlM
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      5 months ago

      Out 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.)