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

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Do you know how many times I've made some little bit of shell code "setuid" by writing a shitty little C program that just calls system()?