Earlier we published How to Change or Reset user’s password in Mac OS X and How to Reset the Administrator Account Password in Mac OS X. But these method needs to you logged in to OS X or you must have a OS X Installation disc. But what to do if you don’t have an OS X CD or don’t evem know the Admin password. Here we have two simple tricks based on the loop holes of Mac OS X to hack your Mac user account by changing it’s password with simple command lines. In first method we used single user mode exploit all you have to do is just power the Mac and enter in Single User mode by –S command in advanced options. So if you think your Mac is the most secured OS please take a look at the steps given below.
Hack 1 Single User Mode :
- Boot into single user mode (press Command-S at power on)
- Type fsck -fy
- Type mount -uw /
- Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
- Type dscl . -passwd /Users/username password, replace “username” with the targeted user and “password” with the password you wants.
- Reboot
The following trick is not resetting the OS X password, that is called creating a new account and taking over someone else’s computer with a fresh start. Removing the AppleSetupDone file will just trick OS X into thinking its the first time its been powered up, and take you through registration process. To reset your OS X password without an OS X CD you need to enter terminal perform the following commands.
Hack 2 Fooling OS X with Registration Process :
- Reboot
- Hold apple + s down after you hear the chime.
- 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
- 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!
To Avoid these types of hack remember to block single user mode by setting a firmware password and don’t forget the password 🙂

Follow








Hi,
Anyone know if there’s a way to simply view the admin password, and not reset it?
Thanks,
Jake
For hack #2 how do I get rid of the account once I’m done with it.
.. hello . i didnt know how to reboot the computer . i already did what you have said but the problem is i dont know how to reboot the comp.
huhuh . pls help me .
i would like to know if you do this will all information on your computer be lost? like songs and pics.
can anyone help me im trying to unloock my password but i cant what does it mean (press command-s on power on
Thanks man it worked for me. I guess the background in Linux did help when it came to navigating the file system inside of root.
I got an Imac for free in a yardsale it has a password that i cant get around and it runs on mac os 9.2 not osx. how do i get around the password without a disc? none of the shortcuts work on macos 9.2
If i use the second hack and it will obviously start up as if it was the first time . if i register everything as asked will i keep everything that was on my mac before ? Afraid of loosing it all !!
is there any way to reset the master password without it?
Friend, can you tell me how to hacking/unlock password another user from my MAC OS computer (via LAN)networking. Please send me the Answer and thanks to HELPing Me.
URGEN ….
thanks buddy,
you just made my day!!
Im using my mac computer and I cant figure out what the apple symbol is or its just command.
Ok, so our video productions class at our school has multiple some what new macs running osx and one of which the admin password was changed and they had no way of accessing it. so i found this website for them and did my magic and everything went through okay (btw i did the Hack 2 Fooling OS X with Registration Process) and just as had finished the process, it looked like it had been completely restored! i lost their $3000 final cut pro programs, all our footage, past videos examples, and a national award winning C- SPAN! before i could sign out the bell rang, so idk if i ruined it or not but i need help!!!
Hi i’m trying to get my parents password because they have their own account and me and my older brother have a guest account with parental controls on it. Is there anyway without erasing or changing ANYTHING to get the password.
okay, i am really confused, will either hack delete anything on your computer? Also does it have the posibility of messing up anything on your computer??
Sweet thanks works great the single user mode tricked the book into set up cool
It don’t work now
it works fine, i did the 2nd option and everything is ok, i kept all my files and yayyyyy… i created a new account, delete the other one and transfer all my files…. put dont forget to put the space and AppleSetupDone dont forget to put the capital letter
Could someone post a more in detail the steps for #2. I restarted my computer and held command-s but nothing happens
It is a good method to hack mac ox user password. I found another method below.
http://www.macpassword.com/how-to-reset-root-user-password-on-mac-os-x.html
It tells us how to hack root password.
Hack 2 works like a charm… You might need to do it twice and wait for a minute after your machines shuts down…
Back your shit up first….
But… ok… I got a free tower from work, and now we can’t remember the password on it. This hack will work… but I don’t have an apple keyboard, so no apple key, no command key… Halp!
Hi Everyone
Hope someone could help me…
I was trying the “Hack 1 Single User Mode”
at step 3, after typing “mount -uw /” the battery died so the mac.
Now even if I digit “command+S” nothing happens plus after a while the video goes black…
Thanks
Marco
wow it worked!!! that was incredibly easy!!! by the way people its an L (lowercase) not a 1 (one) in launchctl
Necesito ayuda urgente
Hace un tiempo atrás active el filevauld de mi mac y un día se bloqueo mi mac cuando intente prenderlo nada me pide la contraseña y la verdad no la tengo, no la recuerdo. Por ello pienso que un hacker me puede ayudar,, he ido a varios lados pero nada me dicen que esta encriptada. Mira la verdad todos los archivos los quiero recuperar pues solo me sirven a mi pues son trabajos academicos y trabajos que hago de diseño, fotos y recuerdos de viajes, lo que quiero recuperar es algo más personal, más sentimental, algo que realmente solo yo le puedo dar utilidad.
La verdad espero me puedas ayudar o recomendar a alguien, deseo inmensamente poder recuperar toda mi información. Estoy dispuesta a pagar.
Thank you so much for this. I had replaced a dead drive with a spare (which had been used on the same computer a couple of years ago) and installed Snow Leopard, only to have the process stop a bit early. It left me with accounts that had previously existed on the drive, but none of them were administrators! I had no administrator account at all!! The second hack worked perfectly, forcing the Welcome window to appear and an administrator account to be created. All is back to normal functioning now!
Can you tell me, does option one leave the original administrator user name and password on the computer and just create a new one ? or does it change the original admin user name and password ?
Not that I would ever use this method to install games on my school computers, but, how noticable will this be on a network? I’m gone in two months so I dont care if it is traceable, I just need to know that I can fool around while I wait college letters without being caught.
without login how 2 hack window7????????
This is what worked for me on my iBook G4 running OSX 10.4 (worked meaning – created new admin account/passwrd without losing information on other user accounts – allowing me to do things that I previously couldn’t access on my second hand laptop) :
—-
restart your computer, hold down Command-S and type in the following:
/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]
I found this information on this page:
http://nothing.golddave.com/?p=62#comment-103546
Worked Perfectly, Thanks
hack 1 and 2 did not work…Then i checked my files and i dont have the com.apple.directoryservices.plist……what is the reasonin for that any help?
Just like magic. Now I can update my system. Thanks
The second one worked like magic! at first, I thought that it reset the computer but it didn’t!
*whew* thank you thank you thank you!
does this work on iMac’s as well?
Hey, does this work for OSX 10.6?
I’m so forgetful with my passwords =/
If not, does anyone know how I can use a similar procedure for 10.6?
Used hack 2…@ first looked like I lost all files but logged in as another user and found all my files. Just needed this because somehow my admin name and passwords were not being recognized. THANKS A LOT!!! u saved me so much time.
will I lose any files on other users?
How To Hack Windows XP password
I used hack 2 on a comp i bout used and it really worked. THe thing i was havin trouble with while doin it was the sapces basically if it looks like a space it is but this works great!!!
I tried first 1 but it will still not work!]
2nd one says I don’t have permissin
i think if u type “reset” it’ll reboot…not sure but worked for me with rEFIt
umzz .hhoww do u reboot the computer .. in hack 2 ??? it says reboot THEN press apple + s /…. can n e one please tell me where the reboot button it ??
the trouble im having with hack 1 is it says socket not connected for part 4, and my issue with hack 2 is i dont have disk permissions how do i obtain permissions?
i am so lost. i am comp illiterate. can anyone help me with the first option listed at top of page?
Hello
I am getting a reply that says “launchct1: command not found”. This is after the step 4 in HACK1.
I am trying it on an apple iBook.
Thank you
hello
Do you have more exploits for the os x?
You don’t like to public send pls on my mail…