System Administration Guide: Basic Administration

ProcedureSPARC: How to Boot to a ZFS Root Environment to Recover From a Lost Password or Similar Problem

  1. Boot the system in failsafe mode.

    ok boot -F failsafe
  2. 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.
  3. Become superuser.

  4. Change to the /a/etc directory.

    # cd /a/etc
  5. Correct the passwd or shadow file.

    # vi passwd
  6. Reboot the system.

    # init 6