Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M2UFl-00017t-LU for mharc-grub-devel@gnu.org; Fri, 08 May 2009 13:52:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2UFk-00016A-Gr for grub-devel@gnu.org; Fri, 08 May 2009 13:52:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2UFf-0000xJ-PG for grub-devel@gnu.org; Fri, 08 May 2009 13:52:56 -0400 Received: from [199.232.76.173] (port=33353 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2UFf-0000xA-LF for grub-devel@gnu.org; Fri, 08 May 2009 13:52:51 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:34452) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2UFf-0006Lw-84 for grub-devel@gnu.org; Fri, 08 May 2009 13:52:51 -0400 Received: by ewy6 with SMTP id 6so2117847ewy.42 for ; Fri, 08 May 2009 10:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gu/0RPYUQ820jI+icjOuCyr3JyB9twYCaEUrhyNKWDY=; b=vi+w3q4qh9w8TxyoVALeaoav5yDDErUESM37fdqPEWluUMNOWema1QYwFaI4gZPU0q TTNyuw5YQr2jkeRJUZqw5lm884RAQwC//CCh8EL3UUBi5E4wZkE5CVk2Myrbz8ugUZ6x ELHq/7H1erFjH4IgNcm4Vci1RZvMZ261pqBQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Q3bOMeHaVXaEgU6R7LV0L+kktjkkCzT7wqwr7s1oVGalXTqmLtBUQnT+l7P+OBGYIA zKUNNIToxv7/vfX/njMWtoCVgGSy0Wh0gT628rqYMZhrYTuGzVNFHViqDFBPt8kz98Fd ie0ahPga0+aE/OMO0o7i8o6XTBhi5S1aK+o6E= MIME-Version: 1.0 Received: by 10.210.130.13 with SMTP id c13mr1075867ebd.9.1241805170068; Fri, 08 May 2009 10:52:50 -0700 (PDT) In-Reply-To: <200905080930.55237.ml@isaac.cedarswampstudios.org> References: <1f29b8940905080048i24f0b441w151f915ce81ed8aa@mail.gmail.com> <200905080930.55237.ml@isaac.cedarswampstudios.org> Date: Fri, 8 May 2009 12:52:50 -0500 Message-ID: <1f29b8940905081052o2dfe4973hf2eb671d4e72c95e@mail.gmail.com> From: Chris Umphress To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Grub Scripting 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, 08 May 2009 17:52:56 -0000 On Fri, May 8, 2009 at 8:30 AM, Isaac Dupree wrote: > I can think of a couple ways to do what you say: > > - if there is a date/time command in GRUB, have the `grub.cfg` check the date > and refuse to offer any booting options after that date (where I suppose the > hardware-clock supplies that date) I was told by Mr. Gerards that he thought support for querying the date/time from the system BIOS was already implemented for scripting purposes. Even if it weren't, I have queried information directly before -- back when QuickBASIC was in wider use. > - alternatively to "not booting", you could have it boot DBAN which will erase > everything on all disks :-) We don't want to destroy the entire system but are considering the destruction of the partition table (after creating a backup). Slightly complicated, yes, but we do need the data on these systems to be accessible for us to recover. > Or have a human manually boot the self-destruct option (which should require > an administrator password probably) > > (how do you expect to re-use these computers, if they have a nonfunctional > boot-loader, by the way?) We'll overwrite the boot loader and restore the partition table if it was destroyed. That would be handled from a custom, bootable live-CD or thumbdrive. This is going to be used on laptops that are lent out and it is one more way that we can try to force people to return them without sending the police out. This is why we need it automated. If they do something silly to their system clock, we'll have to have them bring it in. It might be possible to lock the system BIOS, depending on what others decide the users need to be able to do. Yes, we are relying on the inexperience of most of the students. We intend to have a backup method in Windows to restore the boot loader should it be changed. Hopefully this explains our reasoning a little better. > -Isaac -- Chris Umphress