From owner-freebsd-bugs Sun Sep 3 8:30:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8375D37B422 for ; Sun, 3 Sep 2000 08:30:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA57658; Sun, 3 Sep 2000 08:30:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 3 Sep 2000 08:30:06 -0700 (PDT) Message-Id: <200009031530.IAA57658@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Vivek Khera Subject: Re: bin/20974: securelevel not reset when going to single user mode Reply-To: Vivek Khera Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/20974; it has been noted by GNATS. From: Vivek Khera To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/20974: securelevel not reset when going to single user mode Date: Sun, 3 Sep 2000 11:24:13 -0400 (EDT) >>>>> "SH" == Sheldon Hearn writes: SH> I think you're misunderstanding. The page is talking about the SH> transition from single-user mode to multi-user mode (part of init's SH> job). There's no mention of the transition back to single-user mode. "init arranges to run the system in level 0 mode while single- user and in level 1 mode while multi-user." This sentence does not imply any direction. It just says that in single user mode you'll get level 0 and in multi-user mode you'll get level 1. I also don't understand how to not have the initial mode be -1 so that init will do this, since by the time /etc/rc is run to alter the mode, init is already running. There is no option in the kernel LINT file to set the initial mode. It sure is hard to do system maintenance unless the secure level drops back to 0 in single user mode. BSD/OS does this, and it makes sense to do so, I think. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-545-6996 GPG & MIME spoken here http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message