/etc/hosts rewriting problem

Pablo Wolter pwolter at gmail.com
Mon Jun 6 00:33:45 UTC 2005


Martin Meredith wrote:

>Pablo Wolter wrote:
>  
>
>>Hi,
>>
>>I use my laptop in home and office. For office I add manually a lot of
>>hosts under /etc/hosts as any linux/unix user use to do. But when I came
>>to home and click the icon of Network Connection in the right upper
>>corner of the screen and select the "home" location my /etc/hosts file
>>is empty and only showing the IP address of the hosts tab.
>>
>>Can anyone teel me WHY in Ubuntu this strange behavior is ocurring? As
>>far as I know, /etc/hosts file should be only writable by root and NOT
>>by any user. There are other "security" problems like this enabled by
>>default in ubuntu that one should be aware of it?
>>
>>Thanks in advance.
>>
>>Pablo.
>>
>>    
>>
>
>Are you sure you're writing it propely, if you dont edit it as root, it
>may not be saving it when you think it is. I've done this plenty of
>times (still do sometimes and it confuses me :D)	
>
>
>  
>
That's the funny part....I'm doing it as root and EVERY time I change
the location from Network Connection my /etc/hosts file is re writed.....




More information about the ubuntu-users mailing list