Author Topic: PHP to execute sudo command  (Read 451 times)


  • Guru
  • ****
  • Posts: 150
    • View Profile
Re: PHP to execute sudo command
« Reply #15 on: August 31, 2015, 07:34:49 pm »
Hi Posde

Nothing out of normal shown in the DansGuardian log, expect the site is denied. see log here

Here's a 4 minute video to review if you have the time. nothing better then a video to explain stuff.

Basically I have purged the DansGuardian and reinstalled it.

I change the /etc/DansGuardian/Lists  to chown www-data:root /etc/dansguardian/lists/*

Edited  bannedsitelist via nano  and added as a blocked site.

Restarted DansGuardian visited the site and its blocked.

Edited the exceptioniplist via nano, added my IP restarted, revisited the site and site was allowed.

I then go to my scripts to update DansGuardian to remove the IP, revisit the site and its blocked.

I enter my IP, update DansGuardian, revisit the site and it's still blocked.

As you can see I in the video, when I edited under nano  it works, and when I execute my php scripts it doesn't.

I see you are on the IRC ...are you availabe to chat.