I have ubuntu mate. I have recently changed my password using the passwd command. I know now that I have made a mistake because I also have my home directory encrypted with the previous password.

Consequently after enter my new password at login screen it return me back to the login screen.

Can someone please help me?

I am able to enter to grub boot menu and shell, i am also able to log into guest user. Sorry if the topic is duplicate but I haven't found the same question

Thanks in advance.


Change your password back with the passwd command. Then, with and encrypted home directory, you have to change your password with the graphical tools.

enter image description here

This is a security feature to prevent root , or someone with root access, from changing your password and thus accessing your encrypted data.

For additional details see Changing home folder encryption after changing user password

| improve this answer | |
  • The problem is that i don't have access to the terminal itself, to revert to my previous password – asierrayk Nov 1 '17 at 19:05
  • Boot to recovery mode and change your password or ctrl-alt-F2 and log in. – Panther Nov 1 '17 at 19:06
  • You are most welcome. – Panther Nov 1 '17 at 19:09
  • It took me literary 1 hour to figure out. Thanks – asierrayk Nov 1 '17 at 19:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.