1

I changed Account name property on my mac book pro in System Preferences-> User & Groups-> Advanced Options. I attached a picture of then the window (Not my account window, now i cannot access Advanced options). After changing the property, My admin account changed to Standard account. Even thought i can log in using my login, i cannot do any admin tasks since it says my password is wrong. It was the only admin account i had. So how can i regain my admin priviledges. I highly appreciate your help.

ps: My mac book pro running on High Sierra.

enter image description here

Arunwij
  • 113
  • I have the same problem i tried your solution but it didnt work. https://apple.stackexchange.com/questions/328874/no-admin-account-osx-10-13-5 – archieY Jun 28 '18 at 00:59

2 Answers2

4

You can recover the admin privileges easily by rebooting into Apple’s Setup Assistant tool. This will run before any accounts have been loaded, and will run in “root” mode, allowing you to create accounts on your Mac. Then, you can recover your admin rights via the new administrator account. After that, you can reboot into your recovered admin account and delete the interim administrator account.

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

/sbin/fsck -fy

/sbin/mount -uw /

rm /var/db/.AppleSetupDone

After that, simply enter reboot and your Mac will restart and boot normally. Only this time, Setup Assistant will launch. This will run before any accounts have been loaded, and will run in “root” mode, allowing you to create accounts on your Mac.

0

Catalina 15.4 /sbin/mount -uw /System/Volumes/Data rm var/db/.AppleSetupDone Exitenter image description here

Or Catalina 15.4 Boot ‪#macOS‬ in single user mode. /sbin/mount -uw /System/Volumes/Data vi private/etc/sudoers ‪#SCROLL‬ DOWN Add user [userName ] ALL = (ALL) ALL ‪#exit‬ vim and force overwrite Esc, :wq!

Boot standard account regularly. Launch Terminal

sudo dscl . -append /Groups/admin GroupMembership username

To user “Moab” standard can become Admin, without Admin credentials, it only needs to be on the fdesetup list. Superuser.com owes me -3 ! I’d fix other post but I’m locked out by ranking.

enter image description here