Header Banner
Null Byte Logo
Null Byte
wonderhowto.mark.png
Cyber Weapons Lab Forum Metasploit Basics Facebook Hacks Password Cracking Top Wi-Fi Adapters Wi-Fi Hacking Linux Basics Mr. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker

How to Get Administrator Privileges on Mac

Feb 14, 2016 08:49 PM
Feb 14, 2016 08:58 PM
System command line interface displaying system processes and logs.

So yeah. Its AugustFackYou and I felt like posting today and being an active member of the community. After reading this please tell me if you have any comments on what I can do better or if this method is bad. Anyway today I will be showing you how to get root on a mac. I managed to become an administrator at my school with this and one other method.

Power Off the Computer.

Shut down the computer. I should not have to tel

Boot into Single User Mode.

To do this you have to hold down the power button and command-S until you see a white screen. Then it will boot into single user mode witch should look like this.

635910503630011041.jpg

as you can see you will have a root shell. Now moving on to step 3.

Getting an Admin Account

So now that we have a root shell we have some commands we have to do. The commands are as follows.

  1. Mount the hard drive with: /sbin/mount -uw /
  2. Delete the applesetupdone file with: rm /var/db/.applesetupdone (rm is a UNIX/Linux command that lets you remove files) removing applesetupdone allows you to create a new admin as if it was a new mac. But dont worry it wont remove memory of other accounts!
  3. once you have done this shut down the computer with:shutdown -h now.

Create a New Account!

Now that you have restarted the computer. You will be greeted with a apple set up screen telling you to make a new account. Once you have done that you now have a brand new admin account!

Done!

So as always this is for educational purposes only. Whatever you do with this information is not my responsibility. Have fun! Thanks for reading! -August.

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!