So I tried deleting an app a few days ago and it requires admin name and password. I tried every single combination that i can think of and it wouldnt work. I then realize that I have a standard user instead of an admin. I tried the create a new admin user way but the permission is denied. I got no idea how to proceed onwards. Help needed please. Its a osx yosemite 10.10.5
To create a new admin user, you need to reboot into Single User mode once:
- Boot to single user mode (⌘-S while powering on)
/sbin/mount -uw /
After the reboot, the Setup Assistant should get displayed again (as for a new Mac) and prompt you to create a new user. This user will automatically have admin rights.
I have seen that in rare occasions an admin account has been degraded to a standard user.
Under normal conditions, there is a fairly easy fix on getting it back to admin status.
Here is how:
- At startup, hold down Alt
- Select "Recovery HD"
- Once presented with the choice of options, choose menu "Utilities", then "Terminal"
- Type in
- In the resulting window, choose your startup volume (typically it is "Macintosh HD")
- Select "System Administrator (root)" from the dropdown underneath
- Give it a password in the fields below and click "Save"
- Restart your system (menu "")
- When logging in, choose "Other"
- Type in
rootas the user and the password you just gave it
- Once in the familiar environment, open "System Preferences" > "Users & Groups"
- Unlock the padlock to the lower left-hand corner
- Select your real user
- Click the option
Allow user to administer this computer
Effectively, this will get your user back to admin status. Now, just log out and log back in with your user.
Keep in mind that the above requires that you have access to this volume. If you use FileVault, you will need to unlock it first using Disk Utility.
For security concerns, you may want to do the following few clean-up steps as well:
- Once back with your user, open "System Preferences" > "Users & Groups" again.
- Click on
Login Optionsunderneath your list of users
- Click on "Join" next to Network Account Server
- Click on "Open Directory Utility"
- Open the padlock here as well
- From menu "Edit", choose "Disable Root User"