From owner-freebsd-questions Tue Feb 13 9:54:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id AABE637B4EC for ; Tue, 13 Feb 2001 09:54:04 -0800 (PST) Received: (qmail 6324 invoked by uid 100); 13 Feb 2001 17:54:03 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14985.29883.865639.38050@guru.mired.org> Date: Tue, 13 Feb 2001 11:54:03 -0600 To: Ragnar Beer Cc: questions@freebsd.org Subject: Re: lower kern.securelevel In-Reply-To: References: <14985.26495.131100.44317@guru.mired.org> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ragnar Beer types: > Thank a lot Mike! That's what I didn't think of. I thought the only > way to get into single user mode is via 'shutdown'. How can you get > into single user mode during boot? Sorry 'bout that - I figured if you knew about securelevel, you would know that. Anyway, after you boot, you get a prompt to hit enter to autoboot, or any other key to stop the boot, and it's got a timer counting down. This is *after* /boot/loader and the kernel have been loaded. At that point, just hit "any other key" (I like the biggest one on the keyboard), and then do "boot -s". The system will come up to single user mode. You can then work in the lower security mode, and when you exit that shell the system will finish autobooting. Ragnar > > >Ragnar Beer types: > >> Howdy! I thought that after going into single-user-mode with > >> 'shutdown now' I'd be able to lower the securelevel using 'sysctl -w > >> kern.securelevel=1' but it's not allowed. What do I need to do to > >> lower securelevel for a while? > > > >Once you've raised the secure level, you can't lower it. There > >wouldn't be much point in raising it if it could be lowered, would > >there? > > > >You have to reboot the machine to lower it. It's normally raised when > >you go multiuser, so if you reboot to single user mode, you've got > >what you want. > > > > >-- > >Mike Meyer http://www.mired.org/home/mwm/ > >Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message