News for hackers. Stuff that matters.
Re:Save your Linux machine – Recovering your root password a... by usr1106 on Friday May 01, 2020 @10:49AM (#23042507)
That's ecryptfs. It's no longer supported by newer versions of Ubuntu. The key is not your password. It's somehow protected by a pam module I believe to remember. I once noticed that being root allows you to su into their account, but not decrypting their home directory. So possibly the encryption key is encrypted using the password. One might need the old password to reencrypt the encryption key with the new password.

I had no interest to dig deeper, so I am not sure.

Re:Save your Linux machine – Recovering your root password a... by yjftsjthsd-h on Friday May 01, 2020 @11:03AM (#23042645)
ecryptfs is one way that encrypted home has been done, but it's also been done with encfs and ZFS (very recently).