Re: funny customers

From: Per Engelbrecht (per_at_xterm.dk)
Date: 09/22/04

  • Next message: Dimitri Aivaliotis: "Re: funny customers"
    Date: Wed, 22 Sep 2004 16:49:27 +0200 (CEST)
    To: <freebsd-isp@freebsd.org>
    
    

    Hi Dennis

    >
    > 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...

    Hmm .. I'm not sure why, but in FreeBSD both csh (default root
    shell ... *&#@$!) and sh are linked static and tampering with these
    from the boot-process through /sbin/init (which is the last part of
    the boot-process anyway) is something I wouldn't do.
    Creative thinking though :)
    Thank you Dennis.

    respectfully
    /per
    per@xterm.dk

    >
    > - D.

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Dimitri Aivaliotis: "Re: funny customers"