Problem: Apache as root on 1 file (visudo)
|
27th Jan, 2014, 03:09 AM
Post: #1
|
|||
|
|||
Apache as root on 1 file (visudo)
hello,
i got a problem i need apache to have acces to 2 scripts ( /home/xbian/lights/elro & /home/xbian/lights/action {there is a duplicate in /home/xbian/wiringPi/examples/lights}) when adding this to the visudo file www-data ALL=(ALL) NOPASSWD: /home/xbian/wiringPi/examples/lights/./ it doesn't work, it can't run the scripts, so i tryed: www-data ALL=(ALL) NOPASSWD: /home/xbian/wiringPi/examples/lights/ now im on : www-data ALL=NOPASSWD: ALL and still doesn't work i prefer the link to the file sinds it is more safe but can't get it to work... luke |
|||
« Next Oldest | Next Newest »
|