Date: Wed, 22 Sep 2004 12:19:57 +0200 From: Dennis Koegel <amf@hobbit.neveragain.de> To: Per Engelbrecht <per@xterm.dk> Cc: freebsd-isp@freebsd.org Subject: Re: funny customers Message-ID: <20040922101956.GA13687@neveragain.de> In-Reply-To: <51375.62.242.151.142.1095846313.squirrel@mailbox.wingercom.dk> References: <546931695.20040922124354@apollophone.ru> <51375.62.242.151.142.1095846313.squirrel@mailbox.wingercom.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040922101956.GA13687>