WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dansguardian config file  (Read 1174 times)

Offline sandeep

  • WikiUser
  • *
  • Posts: 19
dansguardian config file
« on: August 18, 2012, 04:39:03 AM »
Hello all
 i need to block access to certain domain, in my tinycore when i try to edit /usr/local/etc/dansguardian/lists/bannedsitelist and try to save its showing read only can any one suggest me where i should add the domain that need to be blocked.
thanx

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5734
Re: dansguardian config file
« Reply #1 on: August 18, 2012, 04:59:00 AM »
Hi sandeep
Try this:
Code: [Select]
sudo rm /usr/local/etc/dansguardian/lists/bannedsitelist
sudo cp /tmp/tcloop/dansguardian/usr/local/etc/dansguardian/lists/bannedsitelist /usr/local/etc/dansguardian/lists/bannedsitelist
sudo editor /usr/local/etc/dansguardian/lists/bannedsitelist
You should now be able to edit and save that file. Don't forget to add  usr/local/etc/dansguardian/lists/bannedsitelist
to your backup.

Offline sandeep

  • WikiUser
  • *
  • Posts: 19
Re: dansguardian config file
« Reply #2 on: August 18, 2012, 06:41:16 AM »
Thank you definitely i will try it out