I have a unique issue - students @ our local JDC have been creating users in 10.6.8 with Single User Mode - i have brought machine in to reimage. I believe the are using the info below to create the accounts. I am upgrading to 10.9.x, but wondering if there is a way to stop them for creating admin users via package. MCX or config profile?
- Boot into Single-User Mode
Turn on the computer. Upon hearing the startup chime, hold the key combination CMD+S. This boots the computer into single-user mode, which in turn gives you access via the root user. It is important to note, however, that this can be blocked by a firmware password. If that’s the case, head on over to one of our other guides on getting into single-user mode while locked.
- Mount the Hard Drive
Once single-user mode boots (it should look like a black screen with white text), we need to mount the hard drive. At the prompt type in:
/sbin/mount -uw /
- Remove the “Setup Has Been Completed” File
Now that the drive is mounted, we can edit the file system. We’re going to delete a file that tells your computer that you have completed the initial setup. Type in:
rm /var/db/.applesetupdone
This command deletes the file “.applesetupdone” in the /var/db/ directory, which the computer checks for on startup to ensure that the computer has already been set up.
- Reboot
Pretty self explanatory. We need the system to reboot so it can check for the file and then notice it’s missing. Type in:
reboot