Re-Run the macOS Setup Assistant

2018-Apr-14

You can re-run the macOS Setup Assistant on the next boot by removing the .AppleSetupDone file:

rm /var/db/.AppleSetupDone

Gist on GitHub