TryI tried it. The User (Dawn) has No Admin privileges. That is my issue.
It is a Standard account from which I launch Terminal.
This is a copy and paste from Terminal:
Dawn@Dawns-iMac-21 ~ % cd /var/db/
Dawn@Dawns-iMac-21 db % rm .AppleSetupDone
override rw-r--r-- root/wheel for .AppleSetupDone? y
rm: .AppleSetupDone: Permission denied
Dawn@Dawns-iMac-21 db %
You see I entered the: cd /var/db/
Then I entered: rm .AppleSetupDone
and Terminal Returned with:
override rw-r--r-- root/wheel for .AppleSetupDone?
To which I answered with a y
Then Terminal returned with:
rm: .AppleSetupDone: Permission denied
Now what?
cd /var/db
sudo rm .AppleSetupDone
Another;
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
- Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
- Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
- Reboot by typing reboot then ↩ enter.
- Complete the setup process, creating a new admin account.
did you try deleting that file using the other Mac and target disk mode?
or this:
Last edited: