Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Resetting admin password with single user boot


  • Please log in to reply
3 replies to this topic

#1 Captain_Trap

Captain_Trap

  •  Avatar image
  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:07:39 PM

Posted 25 March 2023 - 04:40 PM

I just recently purchased a MacBook Pro from a friend who is into storage auctions so the computer is legally in rightfully mine, but has another persons logins on that I need to remove somehow, so I found a video on YouTube that states I can reset the administrative password for a MacBook Pro that I don’t know any of the passwords to by using single user boot mode so I hit command plus the S key and power and booted in the single user boot mode on the tutorial.

here’s the tutorial… https://www.youtube.com/watch?v=TjxAgiNqkDM

the video states the password reset can be accomplished by doing either of the following..

Process 1 -

mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
ls /Users
dscl . -passwd /Users/username password
reboot

Process 2 - 
mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now

When i attempt process one, I get the following directly after typing [mount -uw /]..
 

localhost:/ root# mount -Uw /
spaceman_metazone_init:476: metazone for device 0 of size 1243905 blocks (encrypted: 0-621952 unencrypted: 621952-1243905)
spaceman_datazone_init:119: allocation zone on dev 0 for allocations of 1 blocks starting at paddr 40894464
spaceman_datazone_(nit:119: allocation zone on dev 0 for allocations of 2 blocks starting at paddr 39092224
spaceman_datazone_init:119: allocation zone on dev 0 for allocations of 3 blocks starting at paddr 48927232
spaceman_datazone_init:119: allocation zone on dev 0 for allocations of 4 blocks starting at paddr 35192832
Localhost:/ root# spaceman_trim_free_blacks :3009: scan took 0.472139 s. trims took 0.000000

Why does my prompt have localhost preceding :/ root#

My prompt 

Localhost :/ root#

The tutorials prompt

:/ root#

Just trying to understand how to accomplish the password reset. Sorry in advance for any confusion I tried explaining my problem the best I could

 

Much Thanks,

Captain_Trap



BC AdBot (Login to Remove)

 


#2 greg18

greg18

  •  Avatar image
  • Members
  • 1,565 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Los Angeles, CA
  • Local time:07:39 PM

Posted 25 March 2023 - 10:37 PM

Install a new SSD and trash the old drive.

#3 Captain_Trap

Captain_Trap
  • Topic Starter

  •  Avatar image
  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:07:39 PM

Posted 27 March 2023 - 10:26 PM

Install a new SSD and trash the old drive.

 

thanks for your response I can tell you are highly active on B.C. 

 

would you care to elaborate on what's going on here? I like to learn as much as I possibly can. if not I understand. but I have one more question..

 

so if I have a ssd (which I do) and I install it into this MacBook Pro do you have any idea what will happen if there is an iCloud linked to this MacBook or will all of the stay with the old drive when I trash it. 

 

Thank you for your time



#4 greg18

greg18

  •  Avatar image
  • Members
  • 1,565 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Los Angeles, CA
  • Local time:07:39 PM

Posted 28 March 2023 - 07:15 PM

You will not be able to get past the existing login on a Macbook. Only way is to put in a fresh drive (ie SSD) and new install of Mac OS.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users