Password issue, and encrypted home folder

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
tlane67550
Level 1
Level 1
Posts: 2
Joined: Thu Aug 09, 2018 3:25 pm

Password issue, and encrypted home folder

Post by tlane67550 » Thu Aug 09, 2018 3:42 pm

Ok. I was using Mint 18 on a Dell Optiplex 7010 i7 with 16GB of ram. I upgraded to 19 and had a few issues, but nothing I couldn't figure out. I couldn't load virtualbox, so I rebooted. That's where the problem happened. On reboot, the same root password and account I have used for years wouldn't work. I typed it repeatedly, and carefully and it won't let me log in. So, I installed 19 fresh on a new hard drive thinking I'd pull my stuff from the old one. The home folder was encrypted using the option you get during installation. Of course, I can't access the old home folder. I've googled and tried multiple command line methods, and nothing works. Does anyone know why the computer quit recognizing the password I used on it for years? If not, what I really would like is to get my data back. Any help appreciated.

User avatar
MrEen
Level 7
Level 7
Posts: 1704
Joined: Mon Jun 12, 2017 8:39 pm

Re: Password issue, and encrypted home folder

Post by MrEen » Thu Aug 09, 2018 3:52 pm

Hi tlane67550, and welcome to the forum.

Check the obvious first. Is Caps lock on? Num lock? Does typing your password in a text editor reveal any non working keys?

tlane67550
Level 1
Level 1
Posts: 2
Joined: Thu Aug 09, 2018 3:25 pm

Re: Password issue, and encrypted home folder

Post by tlane67550 » Thu Aug 09, 2018 5:44 pm

It's not a keyboard issue, or other user error. Same password on my new install works fine.

gm10
Level 12
Level 12
Posts: 4125
Joined: Thu Jun 21, 2018 5:11 pm

Re: Password issue, and encrypted home folder

Post by gm10 » Thu Aug 09, 2018 5:52 pm

Check that input language wasn't changed, that can shuffle characters around. In case of doubt use the accessibility on-screen keyboard. You can also log into your old system by entering the GRUB menu at boot, selecting advanced and then the rescue option, finally the root shell option there. From there you can change your user password via

Code: Select all

mount -o rw,remount /
passwd <user>

Mute Ant
Level 13
Level 13
Posts: 4926
Joined: Tue Sep 03, 2013 7:45 pm
Location: Norfolk UK

Re: Password issue, and encrypted home folder

Post by Mute Ant » Fri Aug 10, 2018 5:33 am

Changing passwords is futile when the data is encrypted, it just stops it being unlocked automatically during login...

Data stored in an encrypted volume will only be accessible with the original password.
Without this key, all the data will remain scrambled beyond hope of recovery.

In old-speak "No Tickee No Washee"

Post Reply

Return to “Other topics”