boot -s at the openboot prompt should do (the machine could be
  configured with a password protected prom prompt.)
 
Depends on the OS on the system.  I don't think old SunOS required a root
password for single-user boot, but Solaris 2.x and onwards certainly did.