funny customers

Dennis Koegel amf at hobbit.neveragain.de
Wed Sep 22 03:20:06 PDT 2004


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.


More information about the freebsd-isp mailing list