Knowing what machine and what operating system is helpful anytime you ask for help BTW.
If it's pre-10.7, which I figure it is, you need to boot off of an installation DVD or USB installation stick. After the first screen or two, language choice etc, in the menu bar under Utilities there is an option to change the log on passwords.
Make note though that when you change the log on password in this way it doesn't change the keychain password so when you reboot it will ask if you want to create a new keychain.
Xplain's use of MacNews, AppleCentral and AppleExpo are not affiliated with Apple, Inc. MacTech is a registered trademark of Xplain Corporation. AppleCentral, MacNews, Xplain, "The journal of Apple technology", Apple Expo, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, MacTech Central, MacTech Domains, MacForge, and the MacTutorMan are trademarks or service marks of Xplain Corp. Sprocket is a registered trademark of eSprocket Corp. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.