PDA

View Full Version : [ubuntu] Ubuntu Hosts file



iggy pop
April 1st, 2010, 10:01 AM
Is it possible to configure the Ubuntu Hosts file in order to block any sites a user may regard as undesirable from contacting you? If so, how? Thanks

kerry_s
April 1st, 2010, 11:03 AM
yeap, i use a hosts block list(mvp).

just open /etc/hosts as root(gksudo) and add your lines.

iggy pop
April 1st, 2010, 12:01 PM
Thanks for the reply kerry_s

i.r.id10t
April 1st, 2010, 04:10 PM
The hosts file will control what your computer can connect to, not how others connect to yours...

mikewhatever
April 1st, 2010, 04:12 PM
Shouldn't you be looking at /etc/hosts.deny?