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

Open link in next tab

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

https://blog.benyamin.xyz/2023/10/01/run-shell-script-without-sudo-and-with-special-bit-permission-using-suid-wrapper/

We always remember chmod u+s or special permission bit on an executable means when we run the executable it will run as the owner of the executable (read this). There are a problem with it, it will…

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

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