[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
going to securelevel=2 directly from boot
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: going to securelevel=2 directly from boot
- From: "Matthew E. Patton" <pattonme_(_at_)_gnpr_(_dot_)_pae_(_dot_)_osd_(_dot_)_mil>
- Date: Fri, 27 Feb 1998 15:40:12 -0500 (EST)
I want to force my firwall to go secureleve =2 as soon as init tries going
multi-user. From what I see in init's source, going to level 1 is hard coded
in. what will conceivably break if I were to instead hard code it to '2'?
Yes, I can use rc.securelevel to do a sysctl() just wondering if I can cut out
Also anyone remember the bit about rc.shutdown and getting it to run the
machine goes to single user? Well upon reading the source I realized that
I want to code to execute in init.c's single_user() and more specifically
inside the following IF condition.
if (getsecuritylevel() > 0)
Am I insane?
Visit your host, monkey.org