Solved Securelevel

Hi.
I looked for the file in /usr/src/sys where it is set the default secure level but iI can't find it
Can anybody point me to that file?
I want to change the default value to 1

ThxThanks.
 
Why do you want to change the default in the source code? There are no guarantees that the rc(8) scripts will even work at start up with a non-default securelevel. I'm pretty sure the only supported way to use securelevel are the kern_securelevel_enable and kern_securelevel rc.conf(5) settings.
 
I'm pretty sure you'll run into trouble. There are number of different tasks during the boot up that must be done with the default -1 securelevel and only after those the custom securelevel can be set.
 
Back
Top