Installation DVD If you have forgotten the administrator password XXXXX your system and have no other administrative access, you can use the OS X installation DVD to reset the password. To do this, follow this procedure:
This method can be used to reset the password XXXXX any account in the system so you can log in to that account from the log-in window.
No installation DVD While the first two methods for resetting a password XXXXX the preferred ones, there are times when you may not have an installation DVD and don't have administrative access to the system to reset an account's password. In these cases, the following procedure should work:
dscl . -passwd /Users/USERNAME
In these commands, USERNAME is XXXXX XXXXX name of the account. This is usually the name of the user's home folder, so at this same command prompt you can list the home folders on the system by running the following command: