Admin password reset for old iMac G5

I have an old imac g5 and can't remember the admin password to log into my own account. Is there a way to reset the password? Btw, it's been so long since I used it, I don't even remember what os it is running on.


[Re-Titled by Moderator]


Posted on Dec 22, 2024 3:33 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 22, 2024 7:58 PM

Ilikecheeze22 wrote:

How do I do that if apple doesn’t say how to do it with a G5 computer?


This guidance is for the OS, not the hardware.

At this point I am only guessing that the iMac is running OS X 10.5 since you can't remember anything more specific. In fact, that same guidance will work in earlier and later versions of OS X, through Catalina.

This will re-run the setup assistant and allow you to create a new admin user. With that you can reset the password of the user account that you have forgotten.


❝Here is a way to get around not knowing the admin password on Macs.


To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:


1. Reboot

2. Hold apple + s down after you hear the chime.

3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):

* mount -uw /

* rm /var/db/.AppleSetupDone

* shutdown -h now

4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again! ❞

(Thanks Texas mac Man)


Also, that computer will have shipped with a set of Mac OS X and Application install DVDs. They should have been kept with the machine to its grave. Those can be used to boot, erase and reinstall the OS and apps when necessary.


3 replies
Question marked as Top-ranking reply

Dec 22, 2024 7:58 PM in response to Ilikecheeze22

Ilikecheeze22 wrote:

How do I do that if apple doesn’t say how to do it with a G5 computer?


This guidance is for the OS, not the hardware.

At this point I am only guessing that the iMac is running OS X 10.5 since you can't remember anything more specific. In fact, that same guidance will work in earlier and later versions of OS X, through Catalina.

This will re-run the setup assistant and allow you to create a new admin user. With that you can reset the password of the user account that you have forgotten.


❝Here is a way to get around not knowing the admin password on Macs.


To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:


1. Reboot

2. Hold apple + s down after you hear the chime.

3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):

* mount -uw /

* rm /var/db/.AppleSetupDone

* shutdown -h now

4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again! ❞

(Thanks Texas mac Man)


Also, that computer will have shipped with a set of Mac OS X and Application install DVDs. They should have been kept with the machine to its grave. Those can be used to boot, erase and reinstall the OS and apps when necessary.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Admin password reset for old iMac G5

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.