As If Nothing Ever Happened

January 17, 2007

To restore a customised and updated machine so that it looks as if it’s never been booted:

Boot to single-user mode

> mount -uw /

> rm -rf /Users/* /var/db/netinfo/local.nidb /var/db/.AppleSetupDone /Library/Preferences/* /Library/Caches/*

> shutdown now