Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2001 14:02:12 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mark <mlivingstone@ottawa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to change SECURELEVEL back?
Message-ID:  <20010717140212.B1079@hades.hell.gr>
In-Reply-To: <20010716222645.A19000@tmd.df.ru>; from mlivingstone@ottawa.com on Mon, Jul 16, 2001 at 10:26:45PM -0400
References:  <20010716222645.A19000@tmd.df.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Mark <mlivingstone@ottawa.com>
Subject: how to change SECURELEVEL back?
Date: Mon, Jul 16, 2001 at 10:26:45PM -0400

> 
> 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!

On a running system, you can only raise the securelevel.
You can't drop it lower.

If you haven't changed the kern_securelevel variable in /etc/rc.conf,
a simple reboot will bring securelevel back to -1.

If you have edited /etc/rc.conf and changed kern_securelevel to
something higher than -1, you will need to boot in single user mode,
mount the root filesystem as read-write and edit /etc/rc.conf to
remove (or comment) the offending line.  Then go multiuser as usual.

-giorgos

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?20010717140212.B1079>