A good article on Macfixit on how to restore your system keychain on Mac OS X. Most prefernce files are located in the ~/Library folder and are simply XML or plain text files. Makes for easy backups. No binary stuff like the registry for windows. Gotta love unix type systems. The Keychain for you windows types out there stores passwords on your system for use later. (websites, programs). Like kwallet for you Linux types.