Boot the system in failsafe mode.
ok boot -F failsafe |
When prompted, mount the ZFS BE on /a.
. . ROOT/zfsBE was found on rpool. Do you wish to have it mounted read-write on /a? [y,n,?] y mounting rpool on /a Starting shell. |
Become superuser.
Change to the /a/etc directory.
# cd /a/etc |
Correct the passwd or shadow file.
# vi passwd |
Reboot the system.
# init 6 |