'No such file' when running rm AppleSetupDone from single-user mode
You need to enter the commands precisely, noting all spaces. If no message is shown, the command was successful, much like /sbin/mount -uw /. Enter precisely the following, followed by ⏎ Enter/Return:

/sbin/mount -uw /




rm /var/db/.AppleSetupDone



With the first command, there's no need to keep re-running it, and no need to run it differently, it worked first try when you didn't receive an error.
With the second command, all three tries missed the space between rm and /var. Make sure the space is typed.


You should not receive a message for either command and will be returned to the prompt (#) after each is executed. Finally, run reboot.