command lines to delete user on Single user mode?

Matt OS X

Registered
When you do an OS X install, create a (temporary) user account, run all the updates, then delete the user account and get the machine back to "new" condition, i.e. no user accounts and Setup Assistant runs at boot.

What about 10.6? I need an official command lines step by step for 10.6 without any errors.

Please help me out here asap since I'm working on a project here.

Here's example for 10.5 from macosxhints.com
http://hints.macworld.com/article.php?story=2007110800450816

and

http://hints.macworld.com/article.php?story=20071030151739791

Thanks in advance!
 
Here is an apple script application for anybody that is still looking. It will work on 10.4 10.5 10.6 and 10.7 and can be run while the computer is booted.


WARNING! This application will delete the entire contents of the currently running user and reset the computer to launch the setup assistant and next startup.
 

Attachments

  • Nuker.zip
    24.2 KB · Views: 131
Back
Top