> You should be able to hack /sys/src/cmd/init.c to make it start
> whatever you want after booting, based on init(8), but I haven't tried
> it. The man page says it prompts for a password on the cpu server, but
> that doesn't happen; the source has a pass function but it's not
> called anywhere.

it actually says this

         On a CPU server, init requires the machine's password to be
          supplied before starting rc on the console.

it can  be gotten from nvram (fake nvram on pcs) or
from the console.

i'm sure the reason you weren't asked for a password
was that you have a usable fake nvram.

this doesn't lock the console, however.  it prevents
the machine from booting.

- erik

Reply via email to