[clue-tech] /etc/hosts changing on Debian
Angelo Bertolli
angelo at freeshell.org
Tue May 13 08:21:13 MDT 2008
Keith Hellman wrote:
> On Mon, May 12, 2008 at 02:24:35PM -0600, David L. Willson wrote:
>
>> 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.
>>
>>
>
> And I've set immutable on /var/lib/alsa/asound.state so my system boots
> to a static sound state (muted), instead of whatever alsa (tried) to
> store on shutdown.
>
> I also use +i on short-lived files that I *really* don't want to
> accidentally erase...
I used to have that problem. `alsactl store` seemed to fix it before,
but since then the more recent installations seem to remember my
settings anyway.
Angelo
More information about the clue-tech
mailing list