Changed login for a user with encrypted home, now I can't login

Posted by HappyDeveloper on Super User See other posts from Super User or by HappyDeveloper
Published on 2012-07-04T03:16:30Z Indexed on 2012/07/04 3:18 UTC
Read the original article Hit count: 413

Filed under:
|
|

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.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu