Is it safe to allow www-data to execute privileged commands?
I have noticed several questions on Stack Overflow, like this one, about executing commands with root privileges using PHP. The answer proposed to add the line
www-data ALL=(ALL) NOPASSWD: ALL
to the /etc/sudoers.d file.
Is it a safe a… Continue reading Is it safe to allow www-data to execute privileged commands?