Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MkIFe-00022K-4E for mharc-grub-devel@gnu.org; Sun, 06 Sep 2009 09:57:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkIFb-00021b-Rc for grub-devel@gnu.org; Sun, 06 Sep 2009 09:57:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkIFW-0001yh-Oq for grub-devel@gnu.org; Sun, 06 Sep 2009 09:57:51 -0400 Received: from [199.232.76.173] (port=56338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkIFW-0001yT-Jw for grub-devel@gnu.org; Sun, 06 Sep 2009 09:57:46 -0400 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:34818) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkIFW-0006x3-44 for grub-devel@gnu.org; Sun, 06 Sep 2009 09:57:46 -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 1MkIFT-0000U2-Ds for grub-devel@gnu.org; Sun, 06 Sep 2009 13:57:43 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MkIFS-0003Kl-00; Sun, 06 Sep 2009 14:57:42 +0100 Date: Sun, 6 Sep 2009 14:57:42 +0100 From: Colin Watson To: The development of GRUB 2 Message-ID: <20090906135742.GJ13423@riva.ucam.org> References: <1252240143.3895.18.camel@fz.local> <20090906133818.GI13423@riva.ucam.org> <1252244626.3895.52.camel@fz.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1252244626.3895.52.camel@fz.local> 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: Re: chmod of generated grub.cfg 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: Sun, 06 Sep 2009 13:57:52 -0000 On Sun, Sep 06, 2009 at 03:43:46PM +0200, Felix Zielcke wrote: > Am Sonntag, den 06.09.2009, 14:38 +0100 schrieb Colin Watson: > > I think it'd be more sensible to do this in grub-mkconfig itself - it > > doesn't really fit well into the /etc/grub.d/ hook system, which is > > really just for generating output. > > You mean we check with grep if there's a password line in the generated > config and then just use chmod 400 instead of 444? > Sounds good. Yeah, that kind of thing. -- Colin Watson [cjwatson@ubuntu.com]