I changed the permissions of my host file /etc/hosts by doing a chmod og+w. What's the default permission so that I can switch it back?
I downloaded the ubuntu 10.10 ISO image for AMD64. When i start the ISO ubuntu gets an IP address from my DHCP server. NetworkManager updates /etc/resolv.conf according to the DNS config provided by ...
the /etc/hosts file contains a line: 127.0.0.1 localhost so localhost should be a valid hostname, but any attempt to connect to a port on localhost fails, including ping. Connection attempts into ...
I want to block some hosts in Ubuntu, so how could I edit hosts.deny file to block some hosts like example.com. And one more thing I have installed dnsmasq in Ubuntu, so can I check the entries of ...
How can I prevent Desktop Users from accessing any online website? I tried 127.0.0.1 * in /etc/hosts but it didn't do the trick. Please note that I need to keep http://localhost fully functional. ...