What do you do when you forget your OS X password... Boot up the OS X installation CD, which if you are like me you lost or misplaced (and will find next month some time.) This time the Unix command "passwd" will be used, it is not as neat as the other way I have posted here, but is quicker

Alert... Allarme... Tpebora... :   Be warned this involves Darwin ( OS X's Unix side). That said if you follow these you will be fine.


1. If the Mac is running Restart it

2. Hold down Apple/Command button + S before the chime

3. When you get text prompt enter this command:

"mount -uw /" now press enter


Picture
"mount -uw /" mounts the files so we can use the commands

4. Next type this command:

"ls users" 

Picture
"ls users" listing all accounts in the Users folder

5. Now this command:

"passwd" followed by the username you would like changed
Picture
"passwd" Resets password


6. Enter the new password twice and run ths command:

"shutdown -r now"
Picture
"shutdown -r now" Starts a restart right after enter is pushed
7. This will restart your computer, once it loads up you will be able to login to the machine with the new machine
Joe
1/17/2012 09:09:17 am

When I did this, I entered passwd and my username, then I hit enter and a whole huge list appeared and :/ root# with no place to enter the password... Help?

Reply
Joe
1/17/2012 09:18:15 am

It also says that an error has occurred. It won't let me do anything.

Reply
Richard Carpenter
1/17/2012 10:19:27 am

Is it happening after you restart? Just so I understand, every time you start your computer and enter username and password you are greeted with a root prompt.

Reply
Richard Carpenter
1/17/2012 10:30:27 am

Also what is the error it is giving you?

1/25/2012 04:06:51 pm

THX for info

Reply
1/27/2012 07:39:23 am

Appreciate your details

Reply
3/21/2012 02:10:28 pm

good post

Reply
3/23/2012 06:10:59 pm

nice post

Reply
4/19/2012 04:24:17 am

Nice one info, thanks

Reply
7/13/2012 12:30:53 pm

nice post

Reply
9/19/2012 03:03:23 am

Nice site

Reply
9/25/2012 08:21:33 pm

Nice one info, thx

Reply
Alex
11/8/2012 12:09:09 am

I would like to say, that I just tried it and it worked. Nothing happened to the computer, other than changing the admins password.

Thanks for the information and guide :)

Reply
Hakan
1/3/2013 08:25:53 am

Thanks for the info. What if there is no user other than admin. I think this is why I get "The daemon encountered an error processing request" when enter passwd command.

Reply
Richard Carpenter
1/3/2013 10:40:02 pm

First, Log into the admin account and backup your files, I would take everything from your accounts Users folder. Next go to User Accounts in the System Preferences, If it is not showing your account, I would create a new user with the same username and it should ask to use the folder matching that User name.

That

Reply
Akhilesh Singh
5/13/2013 04:06:10 pm

I'm getting
passwd: The daemon encountered an error processing request.
when i'm selecting username. Will you please help me there.
Thanks

Reply
Richard Carpenter
5/13/2013 11:44:09 pm

Try this post, it should work better for you http://richardcarpenter.weebly.com/1/post/2010/10/forgot-my-mac-password.html

Reply
Thomas Brown
2/26/2018 02:44:54 pm

wat if you press the command + S key and it doesn't enter the text command prompt screen?

Reply



Leave a Reply.

    ip information
    Picture

    Richard Carpenter

    A Young Computer Guy in a Old Computer World

    Archives

    January 2012
    November 2011
    January 2011
    October 2010
    September 2010
    July 2010
    June 2010

    Categories

    All
    10.04
    Dangers Of Linux Series
    Facebook
    Internet
    Linux
    Mac
    Operating Systems
    Operating Systerms
    Security
    Server
    Sniffing
    Ubuntu
    Virtualbox
    Virus Treats