From owner-freebsd-bugs Fri Sep 1 9:33:14 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id EAFB137B424; Fri, 1 Sep 2000 09:33:12 -0700 (PDT) Received: by kci.kciLink.com (Postfix, from userid 100) id 2C5AAE8B4; Fri, 1 Sep 2000 12:33:12 -0400 (EDT) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14767.55880.125419.851253@kci.kciLink.com> Date: Fri, 1 Sep 2000 12:33:12 -0400 (EDT) To: Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/20974: securelevel not reset when going to single user mode In-Reply-To: <200009011236.FAA69600@freefall.freebsd.org> References: <200009011236.FAA69600@freefall.freebsd.org> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "s" == sheldonh 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