From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 12:56:18 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32B80106568E for ; Fri, 25 Jul 2008 12:56:18 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id D38808FC1A for ; Fri, 25 Jul 2008 12:56:17 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from localhost (localhost.bsdunix.ch [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id D33F05DB9 for ; Fri, 25 Jul 2008 14:41:13 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by localhost (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id y713djUbSvtl for ; Fri, 25 Jul 2008 14:41:12 +0200 (CEST) Received: from bert.mlan.solnet.ch (bert.mlan.solnet.ch [212.101.1.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTP id D44DA5D5A for ; Fri, 25 Jul 2008 14:41:12 +0200 (CEST) Message-ID: <4889C9E8.2000803@bsdunix.ch> Date: Fri, 25 Jul 2008 14:41:12 +0200 From: Thomas Vogt User-Agent: Thunderbird 2.0.0.14 (X11/20080609) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: pxe bootable freebsd rescue system? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 12:56:18 -0000 Hello I try to setup a FreeBSD PXE bootable rescue image. I'm aware of the rescue mode on Disc1 on every FreeBSD CD. My goal is to setup a non interactive session. Boot via PXE, set a root password depends on the mac address, start ssh and allow remote login. Adrian Steinmann showed something similar at the Eurobsdcon 2005 in Basel with "Single User Secure Shell, Installing small systems with FreeBSD using the Secure Shell RAMdisk environment" He uses a ssh key, where i have to set the root password during the boot, depending on the mac adress. This is not a big issue with linux systems, where most rescue systems allow you to set password=xxx during the pxe boot. Maybe someone has already done this and wants to share some information with me :) Regards, Thomas