Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: sandeep on August 18, 2012, 04:39:03 AM

Title: dansguardian config file
Post by: sandeep 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
Title: Re: dansguardian config file
Post by: Rich 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.
Title: Re: dansguardian config file
Post by: sandeep on August 18, 2012, 06:41:16 AM
Thank you definitely i will try it out