You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Administrator rights for my original user account restored after being lost

I had problems:

  1. I mistakingly deleted the administrator rights from my original user account.
  2. Consequently, I could not unlock my users & group preferences and could not install new applications on my iMac using the name and the password from my original account.
  3. In particular, I kept getting this message "No such file" when running rm AppleSetupDone from single-user mode.


Here is the solution well described here https://apple.stackexchange.com/questions/347816/no-such-file-when-running-rm-applesetupdone-from-single-user-mode, here There is no administrator account on my m… - Apple Community and here https://apple.stackexchange.com/questions/347816/no-such-file-when-running-rm-applesetupdone-from-single-user-mode


In my case the problem was in the symbols " /" in the command "/sbin/mount -uw /" which was written wrong way "/sbin/mount -uw" (without " /" in the end) in the initial instruction here: I can not unlock my users & group prefere… - Apple Community




iMac 27″

Posted on Apr 5, 2023 1:29 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 5, 2023 2:01 AM

Good work, thanks for tip for others! :)


In my case the problem was in the symbols " /" in the command "/sbin/mount -uw /" which was written wrong way "/sbin/mount -uw" (without " /" in the end)


Actually it should have been -uw then a space before the /, which sets it to the top of the drive.

Similar questions

3 replies
Question marked as Top-ranking reply

Apr 5, 2023 2:01 AM in response to vladinch

Good work, thanks for tip for others! :)


In my case the problem was in the symbols " /" in the command "/sbin/mount -uw /" which was written wrong way "/sbin/mount -uw" (without " /" in the end)


Actually it should have been -uw then a space before the /, which sets it to the top of the drive.

Administrator rights for my original user account restored after being lost

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