logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Lemonde  
#1 Posted : 05 February 2019 06:53:31(UTC)
Lemonde

Rank: Advanced Member

Groups: Registered
Joined: 08/01/2017(UTC)
Posts: 264
United Kingdom
Location: London

Resetting a Mac password.

If you are in receipt of an Apple Mac from eBay and you cannot get administrative access then there are a couple of ways to proceed.

If your Mac responds to Apple Button + R at boot-up (and by Boot-up we mean hold it down from the power-on sound until the progress bar/circle appears under the Apple logo) then you can simply select Terminal from the utilities menu at the top of the screen and enter resetpassword to choose a new password as if you were changing it within OS X as normal.

If the system does not respond to the commands then you need to use the terminal boot-up single sign-on to Linux method:

  1. Access the single-user mode by holding the Command key and S on startup.
  2. Enter “mount –uw /” then press return.
  3. Enter “launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist” then press return.
  4. Enter “passwd [username]” then press return.
  5. Replace [username] with the name of your account.
  6. Reset your password.
  7. Type in “reboot” then press return.
  8. Log in with the new admin password.


If you simply want to take the Mac back to defaults you can also re-run the initial set-up for first user wizard.

This is done using the same first two steps as above but once in Terminal,

  1. Enter fsck -fy
  2. Enter mount -uw /
  3. Enter rm /var/db/.applesetupdone
  4. Enter Reboot


Now the Mac will see that set-up is incomplete and perform the first time logon wizard for a new user.
Sponsor
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.