As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

0 votes

using sudo or setuid with script for apache webserver

If the scripts / commands are safely implemented then sudo/SUID is not a problem. How to create safe scripts/programs is answered in books, not in a Stackexchange response... In your case it may make ...
Hauke Laging's user avatar
  • 86.6k
1 vote

using sudo or setuid with script for apache webserver

Giving the web server user (in this case, www-data) sudo access can be a security risk, as it allows any script executed by the web server to potentially execute arbitrary commands with elevated ...
utilized will's user avatar

Top 50 recent answers are included