Mac OS X Single User Password Reset

The following procedure is more or less a back door into the Mac OS X operating system that will alow you to reset lost or forgotten Administrator passwords. This situation was presented me when a client had forgetten their User password and the Administrator password when I needed to install software on their Mac. I encourage that you save your work and if possible make a backup prior to performing this procedure. Note: I have confirmed this to work on Mac OS X 10.4. Please comment if you have been able to use this in other versions. Firstly, make note of the username(s) you wish to reset. This can be found in System Preferences. You will need the Unix username which will not have any spaces. For example, if your Display Name on the Mac is John Smith, your username is likely to be johnsmith as configured by the Mac. Preferably make note of the main administrator account. Once you have reset this password, you can make other changes later. Once you have made note of the usern