root password changed

Our root password was changed. Can I use installation CD to get into OS? How should I attempt to break into system?
[122 byte] By [jml3227] at [2007-11-26 10:30:41]
# 1

Boot cdrom to single user mode and mount the boot drive and modify the etc/shadow file to remove the crypt hash...See below

OBP:> boot cdrom -sw

#> mount /dev/dsk/c0t0d0s0 /a <Disk c?t?d?s? may differ>

#> cp /a/etc/shadow /a/etc/shadow.ORG

#> vi /a/etc/shadow

remove the root passwd hash

root:YKsdf8asdf76a:13209:0:99999:7:::

Modify the above line to:

root::13209:0:99999:7:::

Reboot the system and root passwd will be blank, so be sure to reset it.

Lee_McCreery at 2007-7-7 2:37:29 > top of Java-index,General,Sys Admin Best Practices...