Changed login for a user with encrypted home, now I can't login
- by HappyDeveloper
I changed a user's login by doing this:
$ usermod old_login -l new_login
I also wanted to move his home to reflect his new username, but it wouldn't let me, so I just rebooted. But now after I login, the screen blinks and I'm redirected back to the login screen. And that's what happens when you cannot access your home, that's why I think it has something to do with his home being encrypted.
How do I fix this?
I'm on a Ubuntu 12 Virtualbox VM.