Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jan 2001 20:23:46 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        Evan S <kaworu@sektor7.ath.cx>
Cc:        Erick Mechler <emechler@techometer.net>, Peter Brezny <peter@sysadmin-inc.com>, freebsd-security@FreeBSD.ORG
Subject:   Re: changing kernsecurelevel 
Message-ID:  <20010106042351.41A523E02@bazooka.unixfreak.org>
In-Reply-To: Message from Evan S <kaworu@sektor7.ath.cx>  of "Fri, 05 Jan 2001 21:30:22 EST." <Pine.GSO.4.10.10101052129290.4678-100000@wintermute.sekt7> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I know this may seem crazy. But, I _want_ to be able to lower the secure
> level. What part of the soruce would I need to edit in order to fix this?

Don't refer to it as fixing it, please, but you can use DDB to lower
it if you want.  I do this sometimes.  For example:

dima@hornet% sudo sysctl -w kern.securelevel=2
kern.securelevel: -1 -> 2
dima@hornet% Debugger("manual escape to debugger")
Stopped at      Debugger+0x34:  movb    $0,in_Debugger.396
db> w securelevel 0xffffffff
securelevel                  0x2        =       0xffffffff
db> c
/sbin/sysctl kern.securelevel
kern.securelevel: -1
dima@hornet%

If you're at a loss at what all of this does, I suggest you use one of
the other methods that were presented to you.

					Dima Dorfman
					dima@unixfreak.org



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




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