Answer the question
In order to leave comments, you need to log in
How to give www-data permission to execute commands as root on UBUNTU?
On Debian in /etc/sudoers I entered: www-data ALL=(root) NOPASSWD: ALL And the commands from sudo were executed.
I entered the same thing on UBUNTU and nothing works, what did I do wrong?
Answer the question
In order to leave comments, you need to log in
Should be the same. it's the same Debian. try calling a new console and there already try as this user.. but it's bad practice.. to give root rights from this user.
try again like this.
www-data ALL=(ALL:ALL) ALL
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question