User status changed from Admin to Standard after macOS reinstallation on my iMac.

During an update to the above recent MacOS we had a power blackout. When power returned my Mac would not complete the restart. I rebooted into Recovery Mode and did Reinstall OS From Internet. All good after that except I am now a "Standard User" and NOT an "Admin User" as I was before. There is NO listing for an Admin User, only me. As a result I cannot change my User Details to Admin or Add Another User as Admin as there appears to be no Admin User Name nor Password to enter at the prompt. Any help or advice would be gratefully appreciated. Thanks and cheers! Sam


[Re-Titled by Moderator]

iMac 21.5″

Posted on Aug 13, 2024 9:14 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 15, 2024 6:47 PM

sam b. wrote:

AS suggested I quit Terminal and then also in between each Terminal Command entry you’ve suggested. ALL returned “No Such File Or Directory”. I thank you for your considered ideas but wonder if I should not just bite the bullet and restore from a Time Machine backup? Or do a Disk First Aid, first???

Unless you typed the first directory (Macintosh HD - Data) incorrectly, it should most definitely not return "No Such File or Directory." If you entered that incorrectly, none of the others would work.


You can enter

cd /Volumes/Mac

Hit Tab, It should fill out Macintosh HD and pause. Type a backslash (\), space, and Tab and it should fill out the full path to the Data volume.

Then type pri and hit Tab, then v and Tab and d and Tab

Then hit return and it should show that you are in that directory. If you enter:

pwd

It will show the full path, /Volumes/Macintosh HD - Data/private/var/db

With that all successful, try to remove .AppleSetupDone

rm .AppleSetupDone
23 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

User status changed from Admin to Standard after macOS reinstallation on my iMac.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.