Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MCdLX-0006CM-E4 for mharc-grub-devel@gnu.org; Fri, 05 Jun 2009 13:36:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCdLV-0006AL-5y for grub-devel@gnu.org; Fri, 05 Jun 2009 13:36:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCdLP-000681-Pb for grub-devel@gnu.org; Fri, 05 Jun 2009 13:36:47 -0400 Received: from [199.232.76.173] (port=42677 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCdLP-00067y-K2 for grub-devel@gnu.org; Fri, 05 Jun 2009 13:36:43 -0400 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:35335) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCdLO-0002qJ-Td for grub-devel@gnu.org; Fri, 05 Jun 2009 13:36:43 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MCdLO-0007eu-0f for grub-devel@gnu.org; Fri, 05 Jun 2009 17:36:42 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MCdLN-000510-00; Fri, 05 Jun 2009 18:36:41 +0100 Date: Fri, 5 Jun 2009 18:36:41 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20090605173640.GW7367@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost03-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: 'password' command in GRUB 2? 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: Fri, 05 Jun 2009 17:36:49 -0000 Hi, I was asked today whether GRUB 2 had a 'password' command yet, as it's more or less the last major feature regression from GRUB Legacy from our point of view. I see from the Subversion repository that it doesn't yet, but there have been a number of attempts in the past. Rather than reinventing the wheel, if we were to look at pushing this up the hill to inclusion, where would be the best place to start? Previous attempts I have found: http://lists.gnu.org/archive/html/grub-devel/2007-08/msg00034.html "[PATCH] password command implementation", Julien RANC, August 2007 http://lists.gnu.org/archive/html/grub-devel/2008-05/msg00135.html "[RFC] Grub2 lock and password implementation", Julien Ranc, May 2008 http://lists.gnu.org/archive/html/grub-devel/2008-08/msg00308.html "Idea: implementation of the password command", Bean, August 2008 http://lists.gnu.org/archive/html/grub-devel/2009-02/msg00376.html "Menu locks / password authentication", Robert Millan, February 2009 I agreed with Robert in the last link above that it would be best to implement lock/password first and worry about something more extensible later if required (on the "you ain't gonna need it" principle), but the threads on the subject have mostly seemed to end up in interface design discussions rather than just emulating the working design from GRUB Legacy (modulo using a non-broken hash function) for now. Is there still substantial disagreement among the GRUB developers about this, or would it be worthwhile pursuing something that basically just does what the GRUB Legacy code did? In that case, it seems that Julien's code in http://lists.gnu.org/archive/html/grub-devel/2007-08/msg00034.html, with the review comments incorporated, would be a reasonable place to start? Thanks, -- Colin Watson [cjwatson@ubuntu.com]