From owner-freebsd-isp@FreeBSD.ORG Wed Sep 22 10:20:06 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 036BF16A4CE for ; Wed, 22 Sep 2004 10:20:06 +0000 (GMT) Received: from hobbit.neveragain.de (neveragain.de [217.69.76.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 169F943D49 for ; Wed, 22 Sep 2004 10:20:05 +0000 (GMT) (envelope-from amf@hobbit.neveragain.de) Received: from hobbit.neveragain.de (amf@localhost [127.0.0.1]) i8MAJvHQ014323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Sep 2004 12:19:57 +0200 Received: (from amf@localhost) by hobbit.neveragain.de (8.12.11/8.12.11/Debian-5) id i8MAJvnh014322; Wed, 22 Sep 2004 12:19:57 +0200 Date: Wed, 22 Sep 2004 12:19:57 +0200 From: Dennis Koegel To: Per Engelbrecht Message-ID: <20040922101956.GA13687@neveragain.de> References: <546931695.20040922124354@apollophone.ru> <51375.62.242.151.142.1095846313.squirrel@mailbox.wingercom.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51375.62.242.151.142.1095846313.squirrel@mailbox.wingercom.dk> X-PGP-KeyID: 0D73E19A User-Agent: Mutt/1.5.6+20040722i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.4 (hobbit.neveragain.de [127.0.0.1]); Wed, 22 Sep 2004 12:19:57 +0200 (CEST) cc: freebsd-isp@freebsd.org Subject: Re: funny customers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 10:20:06 -0000 Hi, On Wed, Sep 22, 2004 at 11:45:13AM +0200, Per Engelbrecht wrote: > But right now I need a way to bypass (I don't think it's possible) the > single_user mode root login feature. Just an idea (as it doesn't work ;) ... A trick known from linux is to boot the kernel with /bin/sh instead of /sbin/init. You'd do "set init_path=/bin/sh" for that in the loader. This would bypass the usual startup and thus you won't be asked for the password. However, i just tried this and it doesn't work. The sh immediately exists and consequently the kernel panics. Don't know what's the problem there... - D.