Run Shell Script without sudo and with special bit permission using suid-wrapper - eviltoast

A tricks on how to run a script as root without sudo, in case someone needs this. I use this for toggle on and off camera without pkexec. It’s useful imho

  • vector_zero@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Or create a service running with limited access to specific resources, and create an API for users to make requests to that service.