Hello
I would like to use a php script to automate site creation. I would like to avoid typing the password of sudo user everytime the script is called.
I just tried to change the sudoers file by adding this :
myuser ALL=(ALL)NOPASSWD:/usr/local/bin/wo site create
myuser ALL=(ALL)NOPASSWD:/usr/bin/wo site create
However, everytime i try to launch the site creation command as myuser, the password is asked.
Can anybody give an advice on how to do it ?
Thanks