|
||||||||||
On Tue, 16 Nov 2004 19:48:31 +0800, JobOberio - My List Mail <mylistmail at gmail dot com> wrote: > > i did able to go to the hidden page /exec.php > for command line execution. > > i can download the default hosts file at /etc/hosts > > however when i try adding entries to the new host > its uploaded to /tmp > That's what it's supposed to do. > i tried to copy the new hosts file > by executing commands via the exec.php page > > cp /tmp/hosts /etc/hosts > That's correct. > But the new entry wont take effect. > i can still access the sites which i should not be able to > since i add it in hosts file > > 127.0.0.1 www.playboy.com > > did i do something wrong? > run 'killall -HUP dnsmasq' so dnsmasq will re-read the hosts file. You'll lose that /etc/hosts file at reboot though. You lose everything but config.xml at reboot. -Chris |