0

When I run sysctl kern.securelevel on my Mac, it gives me a value of 0.

I'd like to increase the kernel security level on my computer. I want it to give me a 1.

Can I do that?

1

Found the answer in a related question.

Change it temporarily until next reboot

sudo sysctl kern.securelevel=1

Change it for future startup

sudo vi /etc/sysctl.conf

Once in vi editor, press i to enter insert mode, then type kern.securelevel=1. Next press enter, then :, then type wq and press enter one last time.

3
  • Sweet, can you help me understand what this changes? – Cauder Mar 27 '20 at 5:56
  • I'm concerned that the work-around is to delete the line in sysctl.conf. Can I lock the file? – Cauder Mar 27 '20 at 5:57
  • 1
    @Cauder Those sound like different questions. If you don't understand the effects of changing your security level, why did you ask how to do it? Consider asking a new question that goes right to the root of what you're trying to accomplish. – Nic Mar 27 '20 at 14:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .