Sunday, January 28, 2018

encryption - Cannot log in to Ubuntu 16.04 LTS

I was working on installing duo 2fa for ssh when ubuntu stopped accepting my password. According to passwd I have it correct, but nothing else accepts it. I tried to reset it and it said it was successful. When I try to log in with the old password it shows a yellow box that just says Password. Any other password is incorrect.
My home directory is encrypted and I know both the password I enter at boot and the key it gave me. Now my only goal is to get the files from my home directory. I went into ubuntu recovery and created a new sudoer user and set the owner of my home directory to that user (which probably did nothing). I also set the password. When I try to log in, that password is also always incorrect.
When I tried to access my disk with a live usb or even the root user (even with the fs in read/write) I always get the standard two files-readme and the access-your-private-desktop.desktop thing.



Thanks for reading and please help me. Again, my only goal at this point is to get those files back. A bonus would be the whole user. Thank you.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...