Home > MacOSX > Console Hack MacOS X 10.6 – Snow Leopard

Console Hack MacOS X 10.6 – Snow Leopard

Command-S on boot to get into single user mode

# All commands in Unix are CASE Sensitive

# Run a disk check to make sure the filesystem is in a good state
fsck -fy

# mount the root filesystem read/write as it’s readonly at this point
mount -uw /

# Start Apple Directory Services – as they don’t use normal Unix password files
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist

# Reset your password to CoolPassword … or what ever your usual password is (keep it the same as your previous one so your KeyChain continues to work)
dscl . -passwd /Users/Daniel CoolPassword

# Flush disks to make sure changes are written
sync
sync
sync

# reboot
reboot

You can also try Apple’s solution to Mac OS X 10.5: Unable to log in after an upgrade install

Advertisements
Categories: MacOSX Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: