One of the most maddening things I've had to do is compile on Solaris without the warm/fuzzy GNU'ness. Remember these things:
1. add gcc 2. add bison 3. add /usr/ccs/bin & /usr/local/bin to path
commandsgnupackagessolaris
Since lsof is tragically broken in Solaris 10, you have to try other methods of finding out which ports a given PID has opened:
# pfiles 2602 &> output
That will redirect stdout and stderr to a file (output) that will outline any files (and ports; remember, everything is a file) that the process has open.
commandslsofpfilesshellsolaris
Reset the root password:
1. Insert the Solaris install CD. 2. Issue STOP-A (Ctrl-Break). 3. Type: boot cdrom -s 4. fsck /dev/rdsk/c0t0d0s0 5. mnt /dev/dsk/c0t0d0s0 /a 6. cd /a/etc 7. TERM="vt100"; export TERM 8. vi shadow 9. on root line, delete everything in the second ":" delimited field. 10. exit out of file (ESC :wq! -or ESC ZZ)
bootcommandsconfigurationhackpasswordresetrootsolarisstartup
To determine what version of Solaris you're running, type showrev.
commandssolarissunosversion