• mholiv@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    When you hate something so much you have to find weird corner cases to support your views. Even then the way described isn’t how someone who knows that they are doing would do.

    The best way for an unprivileged user to manage a service is for that user to run it. That way you inherit the correct permissions / acls / selinux contexts.

    The command to do so is:

    systemctl --user start the_service.service

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    7 months ago

    Runit, making systems easily pwnable since 2004 🎉

    • Step 1: Make a system service run as root
    • Step 2: Give service a runlevel that starts it at boot
    • Step 3: Make the file modifiable by a normal user
    • Step 4: ???
    • Step 5: pwned

    Wow much philosopy. Is great. Incredible chievement. Very pressive!

    Anti Commercial-AI license