how to reset the mac quickly and add an admin account

All the quirks that hit this simple yet elegant operating application, pseudo OS.
Post Reply
darknkreepy3#
Site Admin
Posts: 254
Joined: Tue Oct 27, 2009 9:33 pm

how to reset the mac quickly and add an admin account

Post by darknkreepy3# »

this works on OS X Server 10.5~

boot into single user mode with boot options

Code: Select all

-s
mount the hard drive

Code: Select all

/sbin/fsck -fy

Code: Select all

/sbin/mount -uw /
remove the "setup has been completed" file

Code: Select all

rm /var/db/.applesetupdone
then just exit and it reboots

Code: Select all

exit
now you can add the admin password to administrate the server
you can also add users quickly with passwords
Post Reply