From owner-freebsd-hackers Mon Jun 5 13:29:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id AD07937B5FD for ; Mon, 5 Jun 2000 13:29:22 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p18-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.147]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id FAA07739; Tue, 6 Jun 2000 05:29:16 +0900 (JST) Message-ID: <393C0D73.2B63ED76@newsguy.com> Date: Tue, 06 Jun 2000 05:28:35 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Josef Karthauser Cc: hackers@FreeBSD.ORG Subject: Re: Passwording boot loader. References: <20000605163943.A23434@gandalf.systems.pavilion.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Josef Karthauser wrote: > > There appears to be some code in the /boot/support.4th file to force > the user to enter a password at kernel load time. Does anyone know > enough forth to tell me how to activate it? > > I've got Sony picking up my laptop any minute now and I want to > disable FreeBSD :( Err... not really. That stuff, which should have been taken out and shot long ago (but I still haven't committed the support that is needed to implement it outside support.4th code -- though I already have it in my tree), prevents users from entering interactive mode on loader. Instead, try this... Insert as the top of /boot/loader.rc the following lines: : loop begin 0 until ; loop This will put the loader in an infinite loop, thereby preventing anyone from doing anything (or it from booting). When you get your laptop back (and before doing the above, as a test :), interrupt the *second* stage boot loader (right when "|" shows up) and boot the kernel directly, instead of calling loader. Then fix /boot/loader.rc, and all is fine. Additionally, you might want to insert at the very top of your loader.rc the following: .( Please press control-alt-del to reboot and then press F1 to boot Windows) If Windows is F2, modify accordingly. :-) Pay attention to the spaces in all this stuff. They matter. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@yet.another.bsdconspiracy.org Hmmm - I have to go check this. My reality assumptions are shattered. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message