Re: sysctl to prevent reboot?

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Thu, 10 Jul 2025 18:21:51 UTC
Konstantin Belousov <kostikbel@gmail.com> wrote:
> > That doesn't catch reboot, does it?  For me that's the offending command
> > as I type that at the loader prompt (if I am in the correct window).
> 
> Reboot is very different from shutdown.  I never use it except on nfs-booted
> crash boxes, so I did not considered.

The problem Bjoern cites (did myself not that long ago ;-)
is where you *think* you are typing 'reboot' or 'shutdown -p' etc
at a vm guest - equivalent to "nfs-booted crash box", but
infact you are on the vm host - oops.