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.
Shut down the computer. I should not have to tel
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.
as you can see you will have a root shell. Now moving on to step 3.
So now that we have a root shell we have some commands we have to do. The commands are as follows.
- Mount the hard drive with: /sbin/mount -uw /
- 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!
- once you have done this shut down the computer with:shutdown -h now.
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!
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.
Want to start making money as a white hat hacker? Jump start your White-Hat Hacking career with our 2020 Premium Ethical Hacking Certification Training Bundle from the new Null Byte Shop and get over 60 hours of training from Ethical Hacking Professionals.