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

1

3 Answers 3

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.

1
  • When I do /sbin/mount -uw / it says permissions denied. I am struck!
    – Arvind K.
    Commented Feb 19, 2021 at 18:14
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

0

I erased my Mac using the Find My app on another Apple device that was signed in with the same Apple ID. This helped to start the system installation anew, and I created a new admin account. ATTENTION! This method erases all data on the device.

My details: MacBook with M3, 16GB MacOS Sonoma 14.5

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .