First, you need to verify if the machine will run snow leopard. you need an intel machine to run snow leopard.
You may want to post machine info.
blue apple > about this mac > more info button. Click on the hardware line. It has a little triangle in front of the word hardware.
Leave out the serial number.
Example:
Machine Name: iMac
Machine Model: PowerMac4,1
CPU Type: PowerPC 750 (33.11)
Number Of CPUs: 1
CPU Speed: 600 MHz
L2 Cache (per CPU): 256 KB
Memory: 768 MB
Bus Speed: 100 MHz
Boot ROM Version: 4.1.9f1
--------------------------------------------------------------
Get the Mac to set up an additional administrative account. You can then change the password on your old account.
Start with your computer power off. Hold down command-s. Power on your computer.
Type in the following:
The first two commands will depend on your release of Mac OS X. Look at what is typed out in the console to determine the exact format.
# Type the follow two instructions to access the startup disk in read/write. Press return after each command.
# in case of partial success repeat this command until errors go away.
/sbin/fsck -fy
/sbin/mount -uw /
cd /var/db
pwd
#List all files. The l is a lower case L.
ls -a
#The move command acts as a rename command in this format.
mv -i .applesetupdone .applesetupdone.old
# reboot your mac
shutdown -r now
Once you've done that the computer reboots and it's like the first time you used the machine. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!
Limnos adds detailed explainations:
http://discussions.apple.com/message.jspa?messageID=8441597#8441597
The above the idea came from a post by JoseAranda at September 9, 2006 3:48 AM
http://www.askdavetaylor.com/how_do_i_reset_my_mac_os_x_admin_root_password.html
You will need to scroll down to see this post. Search for applesetupdone
This method is mentioned in an apple support page without giving an explanation.
Once you have a new administrative account, you can change the password of your old administrative account
blue apple > System Preferences > Accounts