- Put your OSX CD/DVD into your optical drive.
- Restart the Mac and hold down the C key while the Mac is starting
- Now you should be greeted with a start-up menu select the Install (DVD/CD)
- Once it has booted click Utilities in the upper Menu
- Select Password Reset/Reset Password
- Now select your OSX HDD
- Select the User Account you want to remove/change the password of and enter in a new password.
- Click Save
- Now restart your Mac and remove the OSX CD/DVD from the drive.
Without CD Method
Note: You may lose all your Data, documents etc. Please backup first!
Tested on 10.5.6
Following the steps below you will create a new User Account which will override your old User Account and take precedence over logging in you will then remove the password from your old User Account and set it to log in.
- Restart OSX
- Hold down the Apple Key+S (or Command+S on newer Macs) key as the computer first turns on.
- Once the Mac starts showing lines of text and a terminal you can release the keys.
- Once you see a blinking cursor type: “mount -uw /” press Enter
- Type: “rm /var/db/.AppleSetupDone” press Enter
- Type: “shutdown -h now” press Enter
- Turn the computer back on
- You will now be greeted with for a new user creation, follow the prompts to create a new User
- You would have noticed that there is no option to login to your old account, this is normal.
- Once you are within OSX
- Click the Apple Logo (top left)
- Click System Preferences
- Click Users
- Click Unlock (little lock, down the bottom of the dialog)
- Select your old User Account
- Click Change Password (here you can remove and/or change it depending on what you want to do)
- Click Login Options (down the bottom)
- Click Change Automatic Options to Disabled
- Restart OSX
- Now you will be greeted to a login dialog, select your old User Account
- Login and you can go back to System Preferences/Users to delete the account you had created.