When the machine boots you get the OpenBSD prompt.
At the prompt type: boot -s
to go to single user mode.
You should be able to handle the rest.
JLF Sends...
meg@cs.csoft.net wrote:
>
> I am just re-aquired a openbsd box I built for
> a friend of mine. Built it to replace a really old Linux
> box hoe was using, and becasue openbsd had built in support for
> pppoe. Anyway, after a few months of sitting around, he lost
> the root passwd.
>
> I have tried my old linux tricks in booting to a boot floppy, and then mounting
> thepartition, but this method doesn;t work in openbsd.
>
> I have tried nulling the passwd field in mastwr.passwd with sed. And also nulling
> spwd.db. But, as you can see I am writing here about it becasue it didn't work.
>
> I surely don't mind reinstalling, but I see a challenge/oppurtunity here.
> I hate to go back to the ole MS method of fixing things by reinstalling.
>
> Anyone mind throwing me a bone or two?
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss