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!
 
Back
Top