NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: I almost broke my NetBSD system by mistake



You can use mtree and the files in /etc/mtree to check the existence and integrity of files on your system—if you’re really curious.
The daily crontab runs the security script, which executes mtree (among other checks), and sends an email reporting filesystem changes and other information, depending on your security.conf settings. 
Of course, you’ll need anacron or something similar on a machine that isn't running at 4:15 AM, and it requires a working shell (sh), sendmail, and other necessary components. :) 

Regards,
Kami

On Thu, Nov 20, 2025 at 9:24 AM Ramiro Aceves <ea1abz%gmail.com@localhost> wrote:


El 20/11/25 a las 5:58, Ramiro Aceves escribió:
Probably other programs could fail
but I did not check. Perhaps I should have investigated more before
fixing the system reinstalling sets. home directory seems to be intact.

I think I will never know what mistake I did. Perhaps an uncontrolled rm
command started deleting files until Xorg bombed out and stopped.

Regards.
 


Home | Main Index | Thread Index | Old Index