Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.

Coco.Canada

macrumors newbie
Original poster
Mar 22, 2011
2
0
Ok Im new to this whole thing so forgive me if I've posted in the wrong area or anything like that. When I first setup my mac I apparently typed in my password wrong... twice. So now I cant install a bunch of things or make changes becuase I dont have the password. I tried to setup a new user account using terminal and it seems to be working fine until I hit enter after the AppleSetupComplete thing... it says something like no such file or directory found. When I try to boot it up normally it doenst do anything. The little spinny thing sits there until it gets too hot and I turn it off. Any ideas on how to fix this? I cant get to my install disk for 2 weeks.. which just wont work. Thank You!!
 
I tried that, and it worked until it reached ls /users. Its saying unknown subcommand when I hit enter. Thanx Anyways :(
 
Ok Im new to this whole thing so forgive me if I've posted in the wrong area or anything like that. When I first setup my mac I apparently typed in my password wrong... twice. So now I cant install a bunch of things or make changes becuase I dont have the password. I tried to setup a new user account using terminal and it seems to be working fine until I hit enter after the AppleSetupComplete thing... it says something like no such file or directory found. When I try to boot it up normally it doenst do anything. The little spinny thing sits there until it gets too hot and I turn it off. Any ideas on how to fix this? I cant get to my install disk for 2 weeks.. which just wont work. Thank You!!

What does booting into the recovery partition do? Can you reset the admin password there?
 
1. Power on or restart your Mac.

2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.

3. Type mount -uw / and press Enter.

4. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist and press Enter.

5. Type ls /Users and press Enter. This lists all of the usernames on the computer – helpful if you don’t know or remember what these are.

6. Type dscl . -passwd /Users/username password and replace “username” with one of the users displayed in the previous step. Replace “password” with a new password of your choice. Press Enter.
Type reboot and press Enter.

sorry for double post.

If that doesnt work you could also do this.


1. Power on or restart your Mac.

2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.

3. Type mount -uw / and press Enter.

4. Type cd /var/db/ and press Enter.

5. Making sure that this file is there, then you can delete it by typing "rm ./.AppleSetupDone" or move it to the root of your hard drive for safekeeping by typing "mv ./.AppleSetupDone /"
 
Last edited by a moderator:
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.