Login screen freezes after the Lion 10.7.1 update After updating to 10.7.1 (the first Lion update) &amp; restarting the system, it's not logging me in. As I give my password and press return it stays on the same login screen. I could move the mouse but there is no rotating wheel, just the same login screen. I tried starting Mac in safe mode but same thing.

Resolution

It was because of Login Hook script which was stopping the login action. Booted in Single User mode and moved the script away from the expected location. Thanks to bmike for the tips.
If you have another mac at home, I recommend using the OS X Recovery Disk Assistant to clone the recovery partition. Then just insert the USB into the non-functional Mac and boot from the USB, as this will allow reinstallation of the OS.

Tip: only use these steps if the built-in recovery partition is not accessible. After taking these steps I would strongly recommend that you upgrade your OS (preferably to Mavericks) if you don't want this to happen again.