4 Replies Latest reply: Apr 6, 2013 6:17 PM by MotherSpacer
soulsinger Level 1 Level 1 (0 points)

I bought a MacBook from someone but they didn't the user password is there anyway to find it


MacBook, Mac OS X (10.6.8)
  • 1. Re: I bought a MacBook from someone but they didn't the user password is there anyway to find it
    Allan Eckert Level 8 Level 8 (41,525 points)

    Use the install DVD to reinstall OS X and reset the password then

     

    Allan

  • 2. Re: I bought a MacBook from someone but they didn't the user password is there anyway to find it
    Kappy Level 10 Level 10 (226,700 points)

    No, but you may be able to change it:

     

    Forgot Your Account Password

     

    For Snow Leopard and earlier

     

         Mac OS X 10.6- If you forget your administrator password

     

    If you are unable to boot from an installer DVD:

     

    (these will only work on Leopard or earlier)

     

      1. Boot to Safe Mode by restarting and after the chime press and hold down

          the COMMAND-S keys until a black screen with white type appears.

     

      2. At the prompt, type the following commands pressing return after each

          command line:

     

         /sbin/fsck -yf

     

         If you do not receive a "Filesystem OK" message then repeat this command

         until you do.  If after seven tries you still do not receive a "Filesystem OK"

         message, then the system is corrupted and needs to be reinstalled.

     

         mount -uw /

         cd /private/var/db/netinfo

         mv local.nidb local.old

         rm ../.AppleSetupDone

         shutdown -r now

     

    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.

     

    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.

     

    Reset Admin Password Using The Terminal

     

    You can reset the password by printing out (or writing down) and carefully following these steps.

     

    First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.

     

    Now, start in Single-user Mode. It should boot into a command line.

     

    Enter these exact lines. Press RETURN after each.

     

    mount -uw /

    ifconfig lo0 up

    cd /var/db/netinfo

    netinfod -s local

     

    Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".

     

    The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.

     

    Now, enter:

     

    sync

    reboot

     

    and the machine will reboot. The admin password should now be changed.

  • 3. Re: I bought a MacBook from someone but they didn't the user password is there anyway to find it
    soulsinger Level 1 Level 1 (0 points)

    I don't have the DVD install disk

  • 4. Re: I bought a MacBook from someone but they didn't the user password is there anyway to find it
    MotherSpacer Level 1 Level 1 (5 points)

    if the guy forgot it , you did not.

     

    if you can enter osx, you can use your Apple ID buy a new osx then install it.or use DVD reinstall it