Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 12:09:19 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: time off by 30 minutes
Message-ID:  <200209211009.g8LA9JCX079439@lurza.secnetix.de>
In-Reply-To: <3D8BE28A.5000205@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart <kstewart@owt.com> wrote:
 > Len Conrad wrote:
 > > Any way to change the SL without rebooting, it's a busy mail gateway?
 > > or otherwise to override this override?
 > 
 > You might be able to just drop to single user mode and set the time.

No, the security-level is not lowered when you drop to
single-user mode, and the kernel still enforces all the
restrictions.

 > Changing the kern_securelevel requires rebooting.

Well ...  :-)

If you have DDB (the kernel debugger) enabled in your
kernel, then you can press Ctrl-Alt-Esc on the console
(or send a Break signal if you have a serial console).
At the DDB prompt, type:

write securelevel 1
continue

Of course, that still means you have a short downtime,
because the services are unavailable while you're in
DDB.  But that's only a few seconds -- A full reboot
would take much longer.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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?200209211009.g8LA9JCX079439>