Method 1: 1. Come. 2. Put your Solaris CD into CDROM 3. Type Stop a 4. When the 'OK' words appear, type boot cdrom -s 5.cd / tmp 6.mkdir / TMP / XXX (What is the ghost thing in XXX, there is no need) 7.mount / dev / dsk / c0t0d0S0 / TMP / XXX (here C0T0D0S0 is your root disk) 8. Run csh 9.Term = sun; export term or setENV TERM VT220 10.cp / tmp / root / xxx / shadow/shadow.backup 11.vi / tmp / root / xxx / shadow and delete the routem in Password. 12. Restart, you can log in with a passwordless root, then change your password. If there is no shadow, then the x behind the ROOT username in / etc / passwd, you can make a method: find a system-free Solaris machine, put the system of forget your password into the mount, repeat method 10 A step of