changing kernsecurelevel

From: Peter Brezny (peter@sysadmin-inc.com)
Date: 01/06/01


From: "Peter Brezny" <peter@sysadmin-inc.com>
To: <freebsd-security@freebsd.org>
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
machine.

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?

TIA

Peter Brezny
SysAdmin Services Inc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message