tinyapps.org / blog


Preparing a Mac for resale or donation (Sierra edition) #

  1. Deauthorize Mac in iTunes, turn off Find My Mac, sign out of iCloud, and sign out of iMessage.
  2. Securely erase internal storage, install macOS, create temporary admin account (e.g., tempuser), install apps and updates, etc.
  3. Log in normally as tempuser and run:
    $ sudo dscl . -delete /Groups/admin GroupMembership tempuser
    $ sudo dscl . -delete /Users/tempuser
  4. Restart in Single User Mode and run:
    # fsck -fy
    # mount -uw /
    # rm -R /Users/tempuser
    # rm /var/db/.AppleSetupDone
    # shutdown -h now

Sources

Regarding iLife and iWork apps

/mac | Feb 18, 2017


Subscribe or visit the archives