home.social

#run0 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #run0, aggregated by home.social.

fetched live
  1. Today I had a first: a completely unpracticed, but still successful at :-)

    Someone talked about replacing with 's , so I talked about a feature not implemented there, but used at many places after my various sudo talks: central session recording

    Read more about it at opensource.com/article/22/3/su

  2. Today I had a first: a completely unpracticed, but still successful #lightning #talk at #oSC26 :-)

    Someone talked about replacing #sudo with #systemd's #run0, so I talked about a feature not implemented there, but used at many places after my various sudo talks: central session recording

    Read more about it at opensource.com/article/22/3/su

  3. While #NixOS should not be affected by #CopyFail as it uses recent kernels, here are additional fixes you can apply:

    Disabling setuid does not mitigate it, but reduces the attack surfaces overall significantly.

    Instead of #sudo, #su, #pkexec and other #setuid binaries you can use #run0 or a dedicated root account.

    I have disabled setuid for a bunch of binaries I don't need, they still work when ran as root, with run0 or #sudo-rs.

    ```nix
    boot.blacklistedKernelModules = [
    "algif_aead"
    ];

    security.sudo.enable = false;

    security.wrappers = {
    su.enable = false;
    pkexec.enable = false;

    # example setuid binary
    chsh = {
    source = "${pkgs.shadow}/bin/chsh";
    setuid = lib.mkForce false;
    owner = "root";
    group = "root";
    };
    };
    ```

  4. While #NixOS should not be affected by #CopyFail as it uses recent kernels, here are additional fixes you can apply:

    Disabling setuid does not mitigate it, but reduces the attack surfaces overall significantly.

    Instead of #sudo, #su, #pkexec and other #setuid binaries you can use #run0 or a dedicated root account.

    I have disabled setuid for a bunch of binaries I don't need, they still work when ran as root, with run0 or #sudo-rs.

    ```nix
    boot.blacklistedKernelModules = [
    "algif_aead"
    ];

    security.sudo.enable = false;

    security.wrappers = {
    su.enable = false;
    pkexec.enable = false;

    # example setuid binary
    chsh = {
    source = "${pkgs.shadow}/bin/chsh";
    setuid = lib.mkForce false;
    owner = "root";
    group = "root";
    };
    };
    ```

  5. This week's Cockpit release adds a systemd/polkit-based superuser authentication (think `run0`) as a fallback when sudo is not available/broken. It also finally removes the long-deprecated pam_cockpit_cert module.

    cockpit-project.org/blog/cockp

  6. This week's Cockpit release adds a systemd/polkit-based superuser authentication (think `run0`) as a fallback when sudo is not available/broken. It also finally removes the long-deprecated pam_cockpit_cert module.

    cockpit-project.org/blog/cockp

    #cockpit #release #run0

  7. engang for hundre år siden, da jeg først begynte med #Linux, så var liksom ikke #sudo en greie. Og så ble det det, og en del av oss himlet litt med øynene av "sudo su" og sånt, men så ble det etter hvert ganske vanlig.

    Men mellom det @pid_eins har skravlet om rundt #run0, og @trifectatech sin #sudors, så er det kanskje på tide å gå tilbake til å ikke ha vanilla sudo på maskina igjen?

    stratascale.com/vulnerability-

  8. engang for hundre år siden, da jeg først begynte med #Linux, så var liksom ikke #sudo en greie. Og så ble det det, og en del av oss himlet litt med øynene av "sudo su" og sånt, men så ble det etter hvert ganske vanlig.

    Men mellom det @pid_eins har skravlet om rundt #run0, og @trifectatech sin #sudors, så er det kanskje på tide å gå tilbake til å ikke ha vanilla sudo på maskina igjen?

    stratascale.com/vulnerability-

  9. The one thing that makes systemd run0 annoying to use is that it'll ask you every time for the password. With sudo you have this 10 minutes where it won't ask again.

    I know the technical reasons, but still this drives me back to sudo.

    #systemd #run0 #sudo #Linux

  10. The one thing that makes systemd run0 annoying to use is that it'll ask you every time for the password. With sudo you have this 10 minutes where it won't ask again.

    I know the technical reasons, but still this drives me back to sudo.

    #systemd #run0 #sudo #Linux

  11. @shuLhan @cazabon Well, based on my experiences with as a guy, my expectation is that around 5-10 years of security nightmares are about to come with :

    syslog-ng.com/community/b/blog

    Yes, a decade later after journald arrived, I have no problem recommending it. But the first 7-8 years were catastrophic both for users and developers.

  12. @shuLhan @cazabon Well, based on my experiences with #journald as a #syslog_ng guy, my expectation is that around 5-10 years of security nightmares are about to come with #run0:

    syslog-ng.com/community/b/blog

    Yes, a decade later after journald arrived, I have no problem recommending it. But the first 7-8 years were catastrophic both for users and developers.

  13. Despite what the #systemd #devs might think, "42% less #Unix philosophy" is an anti-selling-point.

    "Replace #sudo with #run0, let systemd do it" - sure. Throw away a well-audited, widely-used codebase which has worked well for decades, and instead turn it into a request to a #PID 1 process that is a huge modular-but-#monolithic codebase full of constant churn which has barely been #compiled, much less #understood.

    Dollars to doughnuts there are more root holes lurking in systemd than in sudo.

  14. Despite what the #systemd #devs might think, "42% less #Unix philosophy" is an anti-selling-point.

    "Replace #sudo with #run0, let systemd do it" - sure. Throw away a well-audited, widely-used codebase which has worked well for decades, and instead turn it into a request to a #PID 1 process that is a huge modular-but-#monolithic codebase full of constant churn which has barely been #compiled, much less #understood.

    Dollars to doughnuts there are more root holes lurking in systemd than in sudo.

  15. @fabiscafe
    So now my question is, how does #run0 compare to #doas? Is it true that doas comes from the *BSD sector, however run0 is newer and from #Linux world? Also, what are the differences, other than that run0 apparently doesn't need SETUID?

  16. @fabiscafe
    So now my question is, how does #run0 compare to #doas? Is it true that doas comes from the *BSD sector, however run0 is newer and from #Linux world? Also, what are the differences, other than that run0 apparently doesn't need SETUID?

  17. Сьогодні оновився SystemD до версії 256 у якій зʼявилась заміна sudo - run0.

     $ run0 pacman -Sy
    

    Але це повна фігня. Воно працює, але запит пароля відбувається у спливаючому графічному вікні та запит пароля відбувається щоразу. Можливо з часом щось зміниться, але поки це повна дурня.

    SystemD/GNU/Linux блін.

    #linux #systemd #run0 #sudo #альтернатива #systemd256

    Хто використовує альтернативні системи ініціалізації (OpenRC/DInit/RunIt...), що використовуєте і чи не виникають проблеми з ПЗ?

  18. Сьогодні оновився SystemD до версії 256 у якій зʼявилась заміна sudo - run0.

     $ run0 pacman -Sy
    

    Але це повна фігня. Воно працює, але запит пароля відбувається у спливаючому графічному вікні та запит пароля відбувається щоразу. Можливо з часом щось зміниться, але поки це повна дурня.

    SystemD/GNU/Linux блін.

    #linux #systemd #run0 #sudo #альтернатива #systemd256

    Хто використовує альтернативні системи ініціалізації (OpenRC/DInit/RunIt...), що використовуєте і чи не виникають проблеми з ПЗ?

  19. Ok, I clearly was living under a rock. version 256 is packed with updates.

    For me and capsule are the ones I'm most excited about. 😄

    @pid_eins has been an incredible job cataloging it all.

    0pointer.net/blog/announcing-s

  20. Ok, I clearly was living under a rock. #systemd version 256 is packed with updates.

    For me #run0 and capsule are the ones I'm most excited about. 😄

    @pid_eins has been an incredible job cataloging it all.

    0pointer.net/blog/announcing-s

  21. So, what is everyone's opinion on this whole #run0 replacement for #sudo on #Linux systems? I'm not even near well enough versed in it all to know which is better or worse. I'll just use whatever my #Fedora system defaults to I'm sure. I've seen some people talk up run0 and others kind of just roll their eyes seeing that it was created by the #systemd dev - but I'm assuming those same eye rollers aren't big fans of systemd either.

  22. So, what is everyone's opinion on this whole #run0 replacement for #sudo on #Linux systems? I'm not even near well enough versed in it all to know which is better or worse. I'll just use whatever my #Fedora system defaults to I'm sure. I've seen some people talk up run0 and others kind of just roll their eyes seeing that it was created by the #systemd dev - but I'm assuming those same eye rollers aren't big fans of systemd either.

  23. So, with #run0 being a part of #systemd, that’s fair enough. I mean, I get it. Turn Linux into #systemd owning all the things and it’s done. Excellent.

    Thankfully, if that’s not relevant to you, BSD and other Linux distros such as #voidlinux, #alpinelinux, and the BSDs exist.

    Something for everyone without the flamewars.

  24. So, with #run0 being a part of #systemd, that’s fair enough. I mean, I get it. Turn Linux into #systemd owning all the things and it’s done. Excellent.

    Thankfully, if that’s not relevant to you, BSD and other Linux distros such as #voidlinux, #alpinelinux, and the BSDs exist.

    Something for everyone without the flamewars.

  25. @nixCraft
    Is it just me, or is #run0 a solution in search of a problem? And also #systemd rolling out a tool in the name of "security" after its part in the recent #xz / #ssh debacle is both eyebrow- and hackle-raising to me.

  26. @nixCraft
    Is it just me, or is #run0 a solution in search of a problem? And also #systemd rolling out a tool in the name of "security" after its part in the recent #xz / #ssh debacle is both eyebrow- and hackle-raising to me.

  27. #run0 también formará parte de #systemd.

    ¿Qué necesidad hay de que eso sea así?