Please help! I accidentally deleted my all the accounts from my iMac!

204467

macrumors 6502a
Original poster
Jul 13, 2008
821
0
Philadelphia, PA
I was trying to re-install my system using the process described here and when I tried to run the command "$ rm /var/db/.AppleSetupDone" it said I don't have permission to run that command. I hit exit to just start up normally and now the only account available to me to log into is one listed as "Other" to which I don't know the user name and password. I don't think it exists, either.

How do I fix this? The only reason I was doing this was because I was trying to do a clean install on my computer for my neighbor and my original install disk is too scratched to use. Please help if you can!

----------

I also skipped the step "$ echo "" > /var/log/somelogfile" because I didn't know where the file was that I was going to verify. Is this bad?

I swear I'm not trolling right now.
 

204467

macrumors 6502a
Original poster
Jul 13, 2008
821
0
Philadelphia, PA
I'm pretty sure I screwed this up royally... I'm just gonna buy a Mac Mini for my neighbor and sell this iMac for parts.
 
Comment
Nov 28, 2010
22,684
28
located
I'm pretty sure I screwed this up royally... I'm just gonna buy a Mac Mini for my neighbor and sell this iMac for parts.
Why sell the Mac for parts, when you could get the grey Restore DVDs from Apple for a small fee (15 to 30 USD) and completely reinstall Mac OS X?
 
Comment

Puevlo

macrumors 6502a
Oct 21, 2011
633
1
The fact is your account folders are still there just that there is no user associated with them. All you gotta do is enable the root user and add the users with the same name. It'll say a folder with that username already exists and do you want to use that as the home folder. Just say sure.
 
Comment

David085

macrumors 6502a
Nov 9, 2009
811
3
The fact is your account folders are still there just that there is no user associated with them. All you gotta do is enable the root user and add the users with the same name. It'll say a folder with that username already exists and do you want to use that as the home folder. Just say sure.
Excuse me but not if he doesn't know the password for the other user name that he his. so he won't be available to enable the root... he is pretty much out of luck. but have to do a reinstall.
 
Comment

204467

macrumors 6502a
Original poster
Jul 13, 2008
821
0
Philadelphia, PA
So it's all good, the Apple store fixed everything for me. That service is actually way better than I ever expected.

And I admit I should read directions better before I try and do something like this, or else learn how to program so I understand what I'm doing here.
 
Comment

alphaod

macrumors Core
Feb 9, 2008
22,167
1,212
NYC
If you don't even know what you're doing, why are you helping someone else with their computer problems? :confused:
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.