Admin Password Mac Hack

Whether your IT department locked down your Mac or you grabbed one from eBay that the seller forgot to “clean up”, you may encounter a big problem when trying to install software as a non-admin.
Here’s a possible workaround.
If you’re trying to install software on your Mac the first thing you should do is simply contact your IT department. They can use login to your computer remotely and installed the software for you. You may not like having to wait for IT but it’s not you’re computer so you shouldn’t install stuff on it. Also, you could unwittingly end up installing something that looks benign but is actually nefarious.
Feb 26, 2017 Question: Q: Forgotten admin password for Mac Mini I've forgotten my admin password for my Mac Mini, and do not have the install disc to try and reset. I've also tried the restart then hold command+S method, but it won't even go to the boot screen. Recovering users account password is generally easy and you can recover that account password using cmd commands. To access your PC at an administrator level, the password that admin has set is Windows administrator password. In Windows 7, Windows 8 and Windows 10 almost every account is connected to an administrator password. Apr 16, 2020 An administrator (admin) password is the password to any Windows account that has administrator level access. In newer versions of windows, like Windows 10, Windows 8, and Windows 7, most primary accounts are configured to be administrator accounts, so an administrator password is most often the password to your account.
That being said, in an emergency there are two possible solutions:
- Drag and Drop
- Single User Mode
When you see the application installation login window you can either beg for the admin password or try a little workaround that I’m about to show you.
First see if you can just drag the app icon into the Applications folder.
If that fails, you could try Control clicking the app and choosing Open Package Details to see if you can modify the info.plist file or whatevever.
There was on old hack that worked on older versions of Mac OS X that let you modify a string in info.plist which effectively disabled authentication. Well I haven’t found a way to get this work in Mac OS X Yosemite so I’m going to assume it doesn’t work anymore.
One other possibility is to boot the Mac to Single User Mode and use the Directory Services Command Line tool to join your non-admin account to the administrator group.
Reboot and hold down Command + s until you see a black screen appear with a bunch of white text.
After a few seconds you’ll at something that resembles a Unix prompt.
First we need to mount the root file system so type
This mounts the root file system for read-write access.
Then type:
Replace <usernameToBeGivenRoot> with your non-admin username.
Hack For Passwords
If you need to list the users and groups you can type:
Bypass Mac Admin Password
Press Enter, type reboot and login with your non-admin account.

Ultimately, you shouldn’t try to “hack around” the password security mechanisms that prevent you from installing software. These features are here for a reason and unless you really know what you’re doing some of the tutorials out there can leave you with a broken PC and a chagrined look on your face when you call IT and they ask you what happened.
