MacBook Pro – Can’t Log Into Account

macmacbookmacosmacportsosx lion

I installed MacPorts on my Macbook pro with lion, restarted, and now I cannot log into my account. After the restart it hung at the loading screen (the apple with the loading icon) for a while. I restarted, booted into safemode and tried to log in. When I type in my password it appears like it's logging in (goes to a white/gray screen), but then goes right back to the screen with the accounts to choose from. I've tried looging into root as well, the same thing happens. I've tried this both in safemode and regular bootup.

I'm currently writing this from the OSX utilities page. I tried to reset my password in the utitlies boot menu by selecting terminal and typed resetpassword and I noticed that MacPorts created a user account for itself. I changed my password, restarted, and still I cannot log into my account.

I ran verify permissions and repair permissions. Still no luck logging in. I have most of my important things backed up, but there are still a few things that I'd like to get in case I do have to reinstall OSX.

  1. What else can I try to be able to log into my account?

  2. If I have no choice but to reinstall OSX, how can I back up some data?

Best Answer

Here are a couple of things to try:

  1. There might be a problem with login items after you try and log into your account. To disable login item, hold down shift after clicking the login button. http://support.apple.com/kb/PH14215

  2. If you have ssh or remote login turned on, try accessing your account over the network.

  3. If your mac had firewire/thunderbolt, you should be able to use Target Disk mode to mount your macs HD on another mac and get files you need off that way. http://support.apple.com/kb/ht1661

Good luck.

Related Question