Date: Tue, 13 Feb 2001 11:54:03 -0600 From: Mike Meyer <mwm@mired.org> To: Ragnar Beer <rbeer@uni-goettingen.de> Cc: questions@freebsd.org Subject: Re: lower kern.securelevel Message-ID: <14985.29883.865639.38050@guru.mired.org> In-Reply-To: <p04330100b6af2265af86@[134.76.136.114]> References: <14985.26495.131100.44317@guru.mired.org> <p04330100b6af2265af86@[134.76.136.114]>
next in thread | previous in thread | raw e-mail | index | archive | help
Ragnar Beer <rbeer@uni-goettingen.de> 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. <mike > Ragnar > > >Ragnar Beer <rbeer@uni-goettingen.de> 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 > >-- > >Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ > >Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14985.29883.865639.38050>