How to run from PHP a bash script under root user (with all permissions) and not nobody user - php default user?
thats my output af
You can make a program which is set-uid root. This causes the program to always run as root. This doesn't work with shell scripts, so you have to use a program which calls your script.