How do I create a new system administrator?

I am trying to add a WiFi card to my computer but do not know my administrator name or password. Can this be changed?

MacBook Pro, Mac OS X (10.7.3)

Posted on Apr 25, 2016 12:15 PM

Reply
1 reply

Apr 26, 2016 9:00 AM in response to mikestidham

Potentially yes, but you would need to know the Administrator name. You will also need to access the Mac in OS X Single User Mode to do so.


Then, you would need to enter the following commands, in sequence:

(Caveat: If you don't know what any of these commands do, you could potentially make your Mac unaccessible if entered incorrectly.)

  • fsck -fy
  • mount -uw /
  • launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
  • passwd username
  • reboot

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I create a new system administrator?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.