Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2001 22:43:52 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        Mark <mlivingstone@ottawa.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: how to change SECURELEVEL back?
Message-ID:  <20010716224352.F299@blossom.cjclark.org>
In-Reply-To: <01071619314900.06671@galaxy.anchoragerescue.org>; from akbeech@anchoragerescue.org on Mon, Jul 16, 2001 at 07:31:49PM -0800
References:  <20010716222645.A19000@tmd.df.ru> <01071619314900.06671@galaxy.anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 16, 2001 at 07:31:49PM -0800, Beech Rintoul wrote:
> On Monday 16 July 2001 06:26 pm, Mark wrote:
> > re,
> >
> > how do go about changing securelevel from 2 back to 0 or -1? :) i've
> > changed it using "sysctl" but appears i can't change it back..
> >
> > reply to e-mail please.
> >
> > thank you in advance!
> >
> > mark
> 
> Put the following in /etc/rc.conf and reboot:
> 
> kern_securelevel_enable="YES"    # kernel security level (see init(8)),
> kern_securelevel="-1"            # range: -1..3 ; `-1' is the most insecure

Hopefully, if you are running at elevated securelevel, /etc/rc.conf
has the schg-flag set and cannot be modified. Not much point in
raising the securelevel if it is not.
-- 
Crist J. Clark                           cjclark@alum.mit.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010716224352.F299>