changing kernsecurelevel

From: Peter Brezny (
Date: 01/06/01

From: "Peter Brezny" <>
To: <>
Date: Fri, 5 Jan 2001 20:49:21 -0800

How can I change the sysctl kern.securelevel from 2 to -1 without rebooting
the machine.

I've run into problems installing new kernels with a kernelsecure level of
2, but so far, the only way I've figured out to change the kernel secure
level is to modify rc.conf, changing the secure level and rebooting the

How do i accomplish this without a reboot, or, if i am going at it all
wrong, how do i rebuild the kernel of a machine with a kern.securelevel=2?


Peter Brezny
SysAdmin Services Inc.

To Unsubscribe: send mail to
with "unsubscribe freebsd-security" in the body of the message