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
MacOS – Might have accidentally change admin user to standard user
macos
Related Question
- MacOS – MBP boots only through single user mode
- MacOS – Can VirtualBox prevent Mac OS X Yosemite to boot properly
- MacOS – How to recover files from the home directory that malware removed on OS X 10.10.5 Yosemite
- MacOS – OS X 10.10.5 – root user suddenly activated
- MacOS – Outlook 2011 Keychain entry rewritten – prompting for password after 10.10.5 update – keychain issue
- MacOS – Deleted account still being detected (OS X El Capitan)
- MacOS – How to fix this sudo permission issue – UID 503, should be 0 – El Capitan
- MacOS – Can’t get past login screen
Best Answer
To create a new admin user, you need to reboot into Single User mode once:
/sbin/fsck -fy
/sbin/mount -uw /
rm /var/db/.AppleSetupDone
reboot
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.