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.
What else can I try to be able to log into my account?
If I have no choice but to reinstall OSX, how can I back up some data?