locked out of workstation

hey all,
While I was modifying /etc/pam.conf i managed to lock myself
out of my workstation. it will not let any account login. is
there a way I can rescue the box? I tried booting from my
install cd but it didnt recognise it and proceeded to bootup
normally. I tried a Solaris 8 install dvd since that was the
only one I could get my hands on.I'm running solaris 9 on a
SunBlade 2500.
Anybody run into similar problems?
Cheers!

Will.

[469 byte] By [CodeProf.com] at [2007-12-25 4:36:00]