forget the user password for iMac?

Applesuckswow

macrumors newbie
Original poster
Feb 8, 2020
1
0
So I have an iMac 2013, which is left unused for several years. Yesterday I suddenly want to upgrade it by installing ram and ssd blablabla, but I found I forget the user password so I can't log in. How can I fix this? Will re-installing macOS help?

Any advice is appreciated. Thanks in advance!
 

Brian33

macrumors 6502a
Apr 30, 2008
808
64
USA (Virginia)
IF you don't care about whatever files are on the boot disk, you should be able to boot into Recovery mode (hold Cmd-R during boot). From there, you can use the Utilities menu to open Disk Utility, and use it to "erase" (i.e., format) the boot drive. Then reinstall macOS. During the installation you will be prompted to create a new admin user account. You'll end up with a totally fresh new macOS.

Again, note that this will make it impossible to recover any data/apps/pictures or whatever you've got on the machine. If you need to copy files off first, I think there are possible ways to do that before erasing and re-installing...
 

MacUser2525

macrumors 68000
Mar 17, 2007
1,940
286
Canada
IF you don't care about whatever files are on the boot disk, you should be able to boot into Recovery mode (hold Cmd-R during boot). From there, you can use the Utilities menu to open Disk Utility, and use it to "erase" (i.e., format) the boot drive. Then reinstall macOS. During the installation you will be prompted to create a new admin user account. You'll end up with a totally fresh new macOS.

Again, note that this will make it impossible to recover any data/apps/pictures or whatever you've got on the machine. If you need to copy files off first, I think there are possible ways to do that before erasing and re-installing...
Why would he do that? There is a password reset option in there I think I remember seeing. And if not unless it is disabled you can boot single user mode and set the password anyways from there.
 
  • Like
Reactions: Weaselboy

Brian33

macrumors 6502a
Apr 30, 2008
808
64
USA (Virginia)
Why would he do that? There is a password reset option in there I think I remember seeing. And if not unless it is disabled you can boot single user mode and set the password anyways from there.
Well, yeah, that sounds a lot easier! I didn't know about the password reset option. I guess that's available from the menu bar when booted into Recovery mode?
 
  • Like
Reactions: Weaselboy

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,773
9,403
California
Why would he do that? There is a password reset option in there I think I remember seeing. And if not unless it is disabled you can boot single user mode and set the password anyways from there.

You can run resetpassword from Terminal in recovery to do a PW reset. You will lose access to the old Keychain though.
 
  • Like
Reactions: Brian33