Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1G7cXd-0005FV-Hs for mharc-grub-devel@gnu.org; Mon, 31 Jul 2006 14:31:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7cXb-0005Ct-MK for grub-devel@gnu.org; Mon, 31 Jul 2006 14:30:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7cXX-00058e-OG for grub-devel@gnu.org; Mon, 31 Jul 2006 14:30:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7cXX-00058O-JX for grub-devel@gnu.org; Mon, 31 Jul 2006 14:30:55 -0400 Received: from [66.249.92.173] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7caG-0004mE-1o for grub-devel@gnu.org; Mon, 31 Jul 2006 14:33:44 -0400 Received: by ug-out-1314.google.com with SMTP id u2so910611uge for ; Mon, 31 Jul 2006 11:30:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kqCUBOUSS1KFpAXZ/sth2AbZeCHx/nUw5kE1mshKr5JdM2DpTHDs6fbhGFnz0oGlwxI6KWkF5BJeBh5F1DCqOd9gur9d1Na/7dvOVMQ+l/VqIPmrDzFwBY7VqkbAynRID2qt5RFvlWArjocpO2ZFecz1aQDwshLLESNW+BDY1eU= Received: by 10.78.107.8 with SMTP id f8mr643025huc; Mon, 31 Jul 2006 11:30:54 -0700 (PDT) Received: by 10.78.154.13 with HTTP; Mon, 31 Jul 2006 11:30:54 -0700 (PDT) Message-ID: <5bdc1c8b0607311130v10cd3b68p9e61a6a4bb40d77a@mail.gmail.com> Date: Mon, 31 Jul 2006 11:30:54 -0700 From: "Mark Knecht" To: grub-devel@gnu.org In-Reply-To: <5bdc1c8b0607301146h189edac5kfde6340481fda0e7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0607301146h189edac5kfde6340481fda0e7@mail.gmail.com> Subject: Re: OS Choice password protection? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 18:31:00 -0000 Found the answer. All solved by using the password operator withing the specific OS selection I wanted to restrict. Thanks for all the good work on grub. Cheers & out, Mark On 7/30/06, Mark Knecht wrote: > Hi, > First post here. I'm just a user who hasn't found a solution to > this question via normal user lists and forum searches. I figure you > developers are the best ones to tell me whether grub supports this. > Thanks in advance. > > I set up all my machines as dual-boot with Linux and Windows. For > fairly obvious reasons I want Linux to be the default boot option > which grub handles nicely. However, so far I have not figured out how > to *stop* someone from choosing Windows at boot time. I would prefer > to have the OS boot option screen default to Linux and if someone > chooses the Windows option then grub would ask for a password to > proceed. Can this be done with the current product versions of grub? > > Currently I've tried the password option but this doesn't stop > someone from booting Windows as best I can tell. It just unlocks the > editing of the grub commands. > > I also tried adding the hiddenmenu option but when that is running > it seems password doesn't work at all and I just get the default. > > Maybe there is a way to apply the password command inside the > specific OS section but I haven't located any documentation on that as > of yet. > > If it matters, this is a home environment where we all run Linux > but occasionally have to do something on Windows. I want to ensure > Windows is only run when I say it can be and not when kids decide to > do it. ;-) > > Anyway, thanks in advance for any info you can pass on. > > Cheers, > Mark >