Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Apache as root on 1 file (visudo)
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Apache as root on 1 file (visudo)
27th Jan, 2014, 03:09 AM
Post: #1
lukeg01 Offline
Registered
Posts: 77
Joined: Dec 2013
Reputation: 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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Apache as root on 1 file (visudo) - lukeg01 - 27th Jan, 2014 03:09 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 27th Jan, 2014, 04:57 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 27th Jan, 2014, 05:02 AM
Re: Apache as root on 1 file (visudo) - CurlyMo - 27th Jan, 2014, 06:18 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 27th Jan, 2014, 03:10 PM
RE: Apache as root on 1 file (visudo) - CurlyMo - 27th Jan, 2014, 07:51 PM
RE: Apache as root on 1 file (visudo) - mk01 - 3rd Feb, 2014, 12:23 PM
RE: Apache as root on 1 file (visudo) - lukeg01 - 5th Feb, 2014, 06:38 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 5th Feb, 2014, 06:57 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 5th Feb, 2014, 07:10 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 5th Feb, 2014, 07:26 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 5th Feb, 2014, 07:32 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 5th Feb, 2014, 08:09 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 5th Feb, 2014, 08:12 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 5th Feb, 2014, 08:31 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 5th Feb, 2014, 03:02 PM
Re: Apache as root on 1 file (visudo) - CurlyMo - 5th Feb, 2014, 03:51 PM
RE: Apache as root on 1 file (visudo) - lukeg01 - 5th Feb, 2014, 10:30 PM
RE: Apache as root on 1 file (visudo) - CurlyMo - 6th Feb, 2014, 12:38 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 6th Feb, 2014, 04:18 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 6th Feb, 2014, 05:38 AM
RE: Apache as root on 1 file (visudo) - lukeg01 - 6th Feb, 2014, 05:41 AM
RE: Apache as root on 1 file (visudo) - CurlyMo - 6th Feb, 2014, 06:38 AM
Apache as root on 1 file (visudo) - lukeg01 - 7th Feb, 2014, 06:06 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 02:36 PM Powered By MyBB, © 2002-2025 MyBB Group.