How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask OSXpert Your Own Question

OSXpert
OSXpert, Mac Software Engineer
Category: Mac
Satisfied Customers: 226
Experience:  2 years as a geek squad computer technician, 5 years as a software engineer and unix systems admin
50723742
Type Your Mac Question Here...
OSXpert is online now
A new question is answered every 9 seconds

I changed my password XXXXX too much wine and cant remember

Resolved Question:

I changed my password XXXXX too much wine and can't remember it
Submitted: 5 years ago.
Category: Mac
Expert:  OSXpert replied 5 years ago.

OSXpert :

Hi, my name is Britton. Are you available?

Customer: yes
OSXpert :

good deal -- before we get started, how was the party?

Customer: LMAO
Customer: apparently very good
Customer: I know I can't be first person to do that
OSXpert :

haha

OSXpert :

no worries, it happens to a lot of people

Customer: glad I am not sole idiot, I feel much better
OSXpert :

so, which password XXXXX you forget? The one for your Mac, iTunes account, etc...?

Customer: for the Mac
Customer: the opening it up one
OSXpert :

I see -- do you have your Mac OS X discs?

Customer: no
Customer: walking disaster, I am
OSXpert :

no worries, we have a few options, but it will be easiest if you can get the Mac OS X discs

Customer: we have to go to plan B
Customer: I will never ever find them
OSXpert :

alrighty -- any chance a friend has one that you have access to?

Customer: no, then I would have to claim stupidity
Customer: let me go take a fast look
OSXpert :

haha, tell them it's for something else....like installing some software from the original discs

Customer: LOL! NOOOOOOOOOO and no luck!
OSXpert :

okay, let me write up some instructions, stand by...

Customer: okay, ty
OSXpert :

first, do you have an external drive that you can use to backup your data before we go any further...just to be extra careful?

Customer: no, there is nothing important on there
OSXpert :

okay, your data should be copied back over, but just want to make sure nothing gets lost...

Customer: no worries, my life is simple and boring
Customer: until I drink too much and change my password
OSXpert :

haha, alright...try this

Customer: kk, I'm all ears
OSXpert :

1.) Reboot your mac2.) Immediately hold the command+S keys as soon as you hear the chime noise at startup (command key may also be the "Apple" key)3.) You should get a command prompt, enter the commands below EXACTLY as you see them here. Press the <return> or <enter> key after each
mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now
Boot your machine back up normally and follow the on-screen prompts to set up a new admin account.

OSXpert :

oops, formatting was mess up there, let me re-type

OSXpert :

one sec...

Customer: k
OSXpert :

1.) Reboot your mac
2.) Immediately hold the command+S keys as soon as you hear the chime noise at startup (command key may also be the "Apple" key)
3.) You should get a command prompt, enter the commands below EXACTLY as you see them here. Press the <return> or <enter> key after each

mount -uw /

rm /var/db/.AppleSetupDone

shutdown -h now

Boot your machine back up normally and follow the on-screen prompts to set up a new admin account.

OSXpert :

those commands need to be typed exactly, do you have another computer you can use to stay connected with me while you reboot your Mac?

Customer: hold on command plus the S key?
OSXpert :

yes, command and the S key

OSXpert :

do you have another computer you can use to stay with me?

Customer: command plus s is not doing anything
OSXpert :

you need to reboot your Mac first...are you chatting with me on your Mac or another system?

Customer: yes I am on other computer silly, I can't get on mine
Customer: yes other mac
Customer: k whole bunch of shit came up
OSXpert :

gotcha -- wasn't sure if you couldn't log in or if it was having problems doing updates and making changes with the admin password

OSXpert :

okay good, you should end up with a prompt -- like you're expected to type something...

Customer: okay I typed all of that
Customer: and the last prompt is :?root#
OSXpert :

good, you type each of the three commands and hit <return> after each one?

Customer: yes
OSXpert :

...and you didn't get any error messages after any of the commands?

Customer: no
OSXpert :

well, it should reboot after typing the shutdown command...

OSXpert :

did you already type it?

Customer: should I try again?
Customer: yes
OSXpert :

yes

Customer: okay
OSXpert :

the commands should be

mount <space> -uw <space> /

Customer: woo oo
Customer: k, it shut off
OSXpert :

okay good

OSXpert :

reboot it next...

Customer: kk
Customer: password XXXXX is up
OSXpert :

k, one of the commands didn't work, we need to try it again

OSXpert :

reboot with command+S again to get back to the prompt

Customer: okay
OSXpert :

let me know when you get back to the root# XXXXX

Customer: k back
Customer: just typed mount uw /
Customer: says no such file
OSXpert :

mount -uw /

OSXpert :

dont forget the "-" before uw

Customer: k
OSXpert :

it should return to the next line with no messages

Customer: k reboot?
OSXpert :

nope, not yet

Customer: oops
Customer: f**k
OSXpert :

run the next command:

rm /var/db/.AppleSetupDone

OSXpert :

did you run it before rebooting?

Customer: mmmmmmm, yeah, sorry starting over
OSXpert :

haha, no worries

OSXpert :

let me know when you get to the prompt

Customer: okay, I am about to throw it out window, I think I will just take in to store
Customer: last try
Customer: talk to me like I am incredibly stupid
OSXpert :

give it one more shot, just stay with me and let's walk through each step together

OSXpert :

haha, alright

Customer: LOL
Customer: great minds, okay
Customer: I have my first prompt
OSXpert :

for sure :)

OSXpert :

alright, first command, show me exactly what you type and any responses you get back after each command, yes?

Customer: okay
OSXpert :

mount -uw /

Customer: :/ root#
OSXpert :

okay good, no messages back from the prompt, correct?

Customer: it says usage : mount blah blah
OSXpert :

yes, but after you hit <return> it should just go to the next line

Customer: yes
Customer: the current line is the root one
OSXpert :

next, this command needs to be typed EXACTLY...

OSXpert :

rm /var/db/.AppleSetupDone

Customer: damn this is stressful
OSXpert :

note the space after "rm" and before the first "/"

OSXpert :

don't stress, once we get this command, it's nearly done

Customer: okay it is perfect
Customer: hit return?
OSXpert :

capital lettes matter, it needs to be typed exactly as I have above...don't forget the "." (period) in front of "Apple"

OSXpert :

yes...

Customer: yes, got it. No space between / and period, correct?
OSXpert :

correct

Customer: okay now it says override rw ----------- root/wheel blah blah
Customer: ends with AppleSetupDone
OSXpert :

yes

Customer: the suspense is killing me
OSXpert :

haha

Customer: lol
OSXpert :

it asks you to type "y" or "n", correct?

Customer: uh oh, no
Customer: but it ends in a question mark
OSXpert :

type y

OSXpert :

then hit return

Customer: okay
OSXpert :

it should go to the next root# XXXXX

Customer: yes
Customer: it did
OSXpert :

k, hit the up arrow, it should bring the rm command back...

OSXpert :

confirm this...

Customer: where is the up arrow?
Customer: bottom right corner?
Customer: went with it, in ends with AppleSetupDone
OSXpert :

yes...should be the same command, rm...ending with .AppleSetupDone

Customer: okay
Customer: so far so good
OSXpert :

hit <return> again

OSXpert :

it should complain about not being able to fine the file...

Customer: it ends with AppleSetupDone again
OSXpert :

after hitting <return>?

Customer: yes
Customer: should I say Yes again?
Customer: y
OSXpert :

yes

Customer: k
Customer: back to root# XXXXX
OSXpert :

okay, try this again, hit the up arrow to get the command back again,...

OSXpert :

then hit <return>

Customer: okay
Customer: still the same override rw....... ApplesetupDone
OSXpert :

type "yes" and hit <return>

Customer: yes or y?
OSXpert :

yes

OSXpert :

sounds like "y" isn't cutting it :)

Customer: stupid lazy Y
OSXpert :

haha

Customer: back to root#
OSXpert :

okay, up arrow again

OSXpert :

then <return>

Customer: holy f**k, same Applesetupdone?
OSXpert :

k, try this instead...

OSXpert :

hit y

Customer: I need wine
OSXpert :

then <return>

OSXpert :

haha

Customer: done
Customer: root #
OSXpert :

up arrow again to get the command back

Customer: Apple set up done?
OSXpert :

then use the left arrow key, put the cursor after the "rm"

Customer: I don't have rm on this line
Customer: I have rw
Customer: and rm on the line above
OSXpert :

hit <return>

Customer: k
OSXpert :

then up arrow, but don't hit <return>

Customer: back to root#
Customer: ahhhh okay
Customer: put cursor after m
OSXpert :

yes

Customer: it is there
Customer: this is getting exciting
OSXpert :

insert a space and "-f" then another space

OSXpert :

:)

OSXpert :

so your command should now be rm -f /var/db/.AppleSetupDone

Customer: k, hit return?
Customer: yes , it is
OSXpert :

with a space before and after "-f"

OSXpert :

confirm this...

Customer: yes, got the space after the f
OSXpert :

okay cool, hit <return>

OSXpert :

should go to #root

Customer: grrrrr root # XXXXX!
Customer: oh good
OSXpert :

okay good...

Customer: I thought something more spectacular was going to happen
OSXpert :

haha, nope, no news is good news

Customer: lol, okay, good
OSXpert :

up arrow again, then <return>

Customer: back to root #
OSXpert :

type "ls -l /var/db"

OSXpert :

er wait...

Customer: okay
OSXpert :

"ls -la /var/db"

Customer: space after la?
OSXpert :

then hit <return>

OSXpert :

yes

OSXpert :

space before the "-" as well

OSXpert :

you're getting the hang of typing commands :)

Customer: says Is command not found
OSXpert :

it's a lowercase "L"

OSXpert :

not I

Customer: no Im not!
Customer: la is lowercase
Customer: Is is cap
OSXpert :

no caps

OSXpert :

all lower case

Customer: okay
Customer: said "is" command not found
OSXpert :

no I (eye), it's a lower case "L" (between K and M)

OSXpert :

follow me?

Customer: lol, barely
OSXpert :

no worries

OSXpert :

there are no I's, just L, S and A

Customer: said ls is illegal option
OSXpert :

"ls -la /var/db"

OSXpert :

space between "ls" and "-la" and space between "-la" and "/var/db"

Customer: oh stuff happened
OSXpert :

good

Customer: lots of info
OSXpert :

is there a file near the top of the list called .AppleSetupDone?

Customer: yes weeeeeeeeeeeee
OSXpert :

should be somewhere around the 3rd line down if its there at all

Customer: yes IT IS THERE!
OSXpert :

type "whoami" and hit return

Customer: it said root and prompt is root#
OSXpert :

k good, we're making pgroess

OSXpert :

progress*

OSXpert :

type this...

Customer: LOL, you poor thing
OSXpert :

it's all good

Customer: :)
OSXpert :

one sec...

Customer: ok
OSXpert :

type "mount -uw /" again

Customer: k
OSXpert :

make sure the "/" is the one on the "?" key

Customer: kk
Customer: return?
OSXpert :

yes

OSXpert :

hit return

Customer: k, root # XXXXX
OSXpert :

okay, up arrow a few times to get the "rm -f " command back

OSXpert :

keep hitting the up arrow until you see the command "rm -f ..."

Customer: it won't go up?
OSXpert :

type "cd /var/db"

OSXpert :

space between cd and /

OSXpert :

then <return>

Customer: okay
Customer: says db root #
OSXpert :

now type "rm -f .AppleSetupDone"

OSXpert :

don't forget the "." before Apple

OSXpert :

then hit return

Customer: okay
Customer: says root #
OSXpert :

next, type "ls -la"

OSXpert :

then hit <return>

Customer: okay got all that info back
OSXpert :

is the .AppleSetupDone file still there...toward the top of the list?

Customer: no
OSXpert :

nice

OSXpert :

double-check

OSXpert :

if it's gone, we're done

Customer: uh oh
Customer: there is one with .. that appears to be the same date as the one in first group where it showed up
OSXpert :

that's okay

OSXpert :

as long as there is no .AppleSetupDoe

Customer: no, there is not one
OSXpert :

.AppleSetupDone I mean

Customer: oh that was good?
OSXpert :

perfect...

OSXpert :

shutdown -h now

Customer: LOL, I thought you were pissed
OSXpert :

yup

OSXpert :

then return

Customer: is now part of it?
Customer: "now"
OSXpert :

yes

Customer: k
OSXpert :

"shutdown -h now"

OSXpert :

then power it back on

Customer: ok
Customer: it did shut down
OSXpert :

k, power on

Customer: k
Customer: I'm gonna get a job at the Apple store :)
OSXpert :

I think you're a prime candidate for employment there now :)

Customer: okay, on a starting page
Customer: LMAO!
OSXpert :

nice

OSXpert :

I think you're all set

OSXpert :

you can make a new account and password XXXXX

Customer: I think you are the bomb
Customer: THANK YOU!
OSXpert :

lol, thanks :)

OSXpert :

you bet

Customer: okay, so I hit accept and we are good!
OSXpert :

if you're happy with this info, then yes, you can accept.

Customer: you sure as hell had to work for it!
OSXpert :

if not we can keep troubleshooting

OSXpert :

lol

Customer: YES YES YES, smooches XOXO
Customer: I think I am good now! Love you! have a great day
Customer: no more password XXXXX :) take care, bye !
OSXpert :

thanks :) have a good one

OSXpert and other Mac Specialists are ready to help you