Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2000 12:33:12 -0400 (EDT)
From:      Vivek Khera <khera@kciLink.com>
To:        <sheldonh@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/20974: securelevel not reset when going to single user mode
Message-ID:  <14767.55880.125419.851253@kci.kciLink.com>
In-Reply-To: <200009011236.FAA69600@freefall.freebsd.org>
References:  <200009011236.FAA69600@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "s" == sheldonh  <sheldonh@FreeBSD.org> writes:

s> Could you quote the part of the init(8) manual page that you're
s> talking about.  All I see is this:

s> | If the security level is initially -1, then init leaves it unchanged.
s> | Otherwise, init arranges to run the system in level 0 mode while single-
s> | user and in level 1 mode while multi-user.  If level 2 mode is desired
s> | while running multi-user, it can be set while single-user, e.g., in the
s> | startup script /etc/rc, using sysctl(8) to set the ``kern.securelevel''
s> | variable to the required security level.

Yes.  I read that paragraph to mean that if I set securelevel to
something other than -1 from /etc/rc, that init will pull it back to
level 0 when I go to single-user mode.  That does not happen.



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




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