set securelevel without a reboot

Arthur Chance freebsd at qeng-ho.org
Mon Apr 6 10:58:22 UTC 2015


On 06/04/2015 11:20, Ernie Luzar wrote:
> Is there a way to enable kern_securelevel beside putting the statements
> in rc.conf and rebooting the system?

man 7 security

"The security level can be set with a sysctl(8) on the kern.securelevel 
variable."

That's all that the rc script does. Of course, if you want to *reduce* 
the secure level to 0 or -1 you will need a reboot.

-- 
Those who do not learn from computing history are doomed to
GOTO 1


More information about the freebsd-questions mailing list