Can I change my kernel security level? 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?
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.