[clue-tech] /etc/hosts changing on Debian
David L. Willson
DLWillson at TheGeek.NU
Mon May 12 14:24:35 MDT 2008
> On Sat, May 10, 2008 at 10:10:51PM -0400, Angelo Bertolli wrote:
> > I was already a little annoyed with whatever was rewriting my
> > /etc/resolv.conf file before, but somehow I can get my system into a
> > state where it stops doing that. This thing seems to change any time I
> > use network-admin to adjust the connection, and /etc/hosts is much more
> > annoying.
On Mon, 12 May 2008 14:19:30 -0600, Keith Hellman wrote
> Try
> $ sudo chattr +i /etc/hosts
>
> For details
> $ man chattr
I do the same thing to /mnt/* so I don't accidentally write before mounting.
David L. Willson
Trainer/Engineer/Consultant
MCT, MCSE, Linux+
(720) 333-LANS
More information about the clue-tech
mailing list