Help!  Reset the password and now master account at log in is missing??????

I really need you help on this. Today I was helping my younger cousin with his macbook. He lost his password so I put in the disk that came with it and held down C and went to Utilities/reset password and reset the main account password. I might have reset the Home Permissions and ACLs. I reboot the computer and in the login screen only show the other that was made and not the main account. So the master account is mission how do back so I can log in it. Can anyone help?
Mike

is the other account admin? if yes, log in as the other user and run the following terminal command
sudo rm /var/db/dslocal/nodes/Default/users/short-user-name.plist
Instead of short-user-name put in the above the short name of your main user which is now missing. It's the same as the name of that user's home directory in /Users folder which should still be there.
You'll have to enter the admin password which you won't see as you type it. that's normal.
Please make sure you copy the command EXACTLY as given. it's very important. we don't want to delete the wrong thing here. this will delete the directory services record for the missing user.
Restart, log in as the other user again and try creating an account with the short user name of your main missing user in system preferences->accounts. it will say that a home directory by that name already exists and ask if you want to use it. say "yes".
this should bring the account back.
if the only currently existing account on the computer is not admin then boot from the install DVd and using the password reset utility activate root (=System administrator). then log in as root and perform the same steps as above.

Similar Messages

Maybe you are looking for

  • Ipod touch 3rd generation can´t install apps

    I have a problem with apple. I bought a Ipod touch of the 3rd generation and I can´t install any apps the problem is that my ipod said You need ios 6 to install this app.I bought them in 2010. How can I fix this problem? I have ios 5.1.1.I would be o

  • Can you use an iPhone 5 and the lightning to 30 pin adapter with the Scosche IPNRFCS wireless Car RF remote?

    I'd like to use this remote for my iphone 5 in my car to listen to music. The iphone will be plugged  into the stereo and be stowed away but I want a way to change the song because my stereo doesnt allow complete ipod control. Can i use the 30 pin ad

  • How do I make a button activate when enter is pressed?

    Can anyone help me? I'm trying to activate the JButton "BUTconv" below work when someone presses "enter" on the keyboard. I'm using the code below, but every time I try to compile it, my compiler says that "BUTconv" is an unknown symbol, it 'cannot f

  • PCo integration with MII and MES

    Hi, How is PCo placed in MII and ME Achitecture. Can PCo directly connects to Shopl floor systems? and how it is connected to MES system. IS this something like Shop floor>PCo->MII->ME->ERP? Can someone please make me understand? Thanks, Raveen

  • Migrating from CM SDK to Content Services

    Hi, I believe that content services is "built on" CM SDK. Would it therefore be possible to migrate from an instance of CM SDK to Content Services? Are there any tools available to do this? I think it would be possible to write an integration toolkit