1. Enable The Root Account. Open System Preferences, and then open the “Users & Groups” item. In the “Users & Groups” window, click the lock at bottom left, enter your password, and then click the “Login Options” link just above the lock.
  2. Hello guys, Today will provide you 2 awesome and easy trick through which you can hack admin account through guest account. Also checkout the best 12 Computer Facts that will blow your mind. If you been using someones Pc in guest account and want to have Admin privilage then worry not,there is a trick for you to Gain Admin Privilage.

On your Mac, choose Apple menu System Preferences, then click Users & Groups. If the lock at the bottom left is locked, click it to unlock the preference pane. Click the Add button below the list of users. Click the New Account pop-up menu, then choose a type of user. At the login screen when you get command prompt it will be administrator level, you can then add change or delete any other account on the computer. How to Hack Windows 7 Admin Account Password with Windows Magnifier Hack.

When you first start using a brand-new Mac or performed a clean install of OS X, you are presented with Setup Assistant, allowing you to create the first user account and specify some initial information, such as keyboard layout and locale.

Under certain circumstances, it can be advantageous to re-run the Setup Assistant. Using some command-line trickery, we can do just this without having to erase and reinstall OS X.

What Setup Assistant Does

Setup Assistant is designed to run on the first boot of a fresh install of OS X, which is why you'll only see it when booting up a a brand-new Mac or one that has been erased and had OS X reinstalled.

Besides options for keyboard layout, time zone and asking if you'd like to register, Setup Assistant also lets you create a new user account. As Setup Assistant assumes the account it is creating to be the first, it is always given administrator privileges.

Why Bother?

There may come a time when you need to set up a second user account on a Mac while attempting to resolve a user account issue. If a Mac has only one user account and it seems to be unable to log in correctly (getting stuck at the login window, for example), having a second account will allow you to access OS X and continue troubleshooting.

By re-running Setup Assistant, we can use the process to create a user account that will automatically have administrator privileges, without having to do so via System Preferences, which we might not be able to access.

There are other reasons why re-running it can be advantageous, though in my experience, the above has always been the most common reason to do so. Sure, you can create user accounts using a number of commands, but Setup Assistant is just far easier.

.AppleSetupDone

Every time OS X boots, it checks for the existence of a file known as .AppleSetupDone. This empty file is created after the completion of Setup Assistant. It doesn't exist on a brand-new, out-of-the-box Mac, nor on one that has had a clean installation of OS X.

By removing this file, OS X will assume that Setup Assistant has never been run and will launch it as soon as OS X boots.

Create

Setup Assistant is also run with root privileges, which is why it can create a new user account with administrator privileges without the need for any authorisation.

Removing .AppleSetupDone

To remove this file, we need to boot the Mac into Single-User Mode. This provides a method of interacting with OS X via the command-line, with full root privileges.

Start up the Mac whilst holding down ⌘-S. After a few moments, you'll see the Mac boot to the command line.

Before continuing, the filesystem must be checked and mounted, so files are't immediately accessible to interact with. To do this, enter the two commands that are displayed within the prompt, one at a time.

The following command will check the filesystem to ensure there are no problems. Enter:

The next command will then mount the filesystem for it to be accessible:

With the filesystem mounted and accessible, it's time to remove the file so OS X will re-run Setup Assistant:

After that, simply enter reboot and your Mac will restart and boot normally. Only this time, Setup Assistant will launch.

Security Concerns

By now, you're probably wondering why should this be even possible, since someone may use this to gain access to a Mac. Indeed, re-running Setup Assistant would certainly allow for an unauthorised person to create a new account with administrative privileges and gain access to the Mac along with your data.

In terms of security, physical access trumps almost every method of preventing unauthorised access not involving encryption. While a little more complicated with the SSD technology Apple uses in their product lines, access to your data can easily be done simply by removing the Mac's storage device and connecting it to another.

This is where encryption methods such as Firmware Password and FileVault 2 are useful. With a Firmware Password set, it must be entered if the Mac is being booted either into Single-User Mode or to another boot volume. FileVault 2 takes this one step further by performing full disk encryption, preventing any form of access to your data unless authorised by entering your user account password - even if the drive is removed and attached to another Mac.

The Instructional is generously supported by its readers. If you'd like to help, Click here to learn more.

Creating new admin account is available in Users & Groups when you have admin privileges to access Mac. However, if you cannot sign in Mac, is it still allowed to create new admin account? Surely it is even though that is not so easy to do like in Users & Groups.

Create new admin account in single user mode when cannot sign in Mac

Single user mode is a special startup environment, which boots Mac to a terminal-like interface where users can run commands to do what they want on Mac, such as repairing startup drive or creating new admin account etc.

Step 1: Start Mac in single user mode.

To boot Mac in single user mode, just need to power on Mac and hold on Command + S. If you fail, try another time.

Step 2: Mount the startup drive.

Hack Mac Create New Admin Account

While you see a command prompt in the form of a ':/ root#', type the command below to make files accessible in the startup drive. Press Enter to continue.

/sbin/mount –uw /

Step 3: Remove the file to force OS X to boot like the first time.

Create new admin account mac hacking

Now you have the privileges to remove the files from drive. Run the command below, and it will remove the necessary file that can recognize your Mac are not booted at the first time when Mac restarts.

rm /var/db/.applesetupdone

But once it is done, you can enter 'reboot' to restart Mac, and OS X would think that it is the first time you boot the currently installed OS X. So you can create new admin account during the setup process.

Note: Don't worry about your data on Mac would be lost or damaged. It would just go through the system setup process again. Nothing would be changed on Mac besides the new settings you make in the process.

Step 4: Create new admin account in setup process.

Mac restarts and displays the Welcome to Mac screen. Follow the wizard to choose your location, set your keyboard, choose the way to transfer data, set your Apple ID and agree the terms and conditions. At last, you will be asked to create an account for mac.

1. Default name for this account has been shown there. Surely you can change it but do not use the same name as the old administrator on Mac. Otherwise, data about this account will be deleted from Mac.

2. Enter password and confirm it. Click Next and Mac will save these changes.

Few minutes later, Mac will reboot and sign in automatically with the account you just created. You have new admin account and could use it to reset forgotten admin password for Mac or do whatever troubleshooting steps.

Create New Admin Account Mac Hack Password


Create New Admin Account Mac Hacking

Related Articles: