I changed my user password using passwd
on Linux, but it turned out that this did not change the ecryptfs wrapping pass phrase. Here are some references I found which suggest that ecryptfs-rewrap-passphrase
should be the command I’m looking for, but I haven’t test them out yet.
Note that someone also suggested that ecryptfs-rewrap-passphrase
should be run first, followed by passwd
.
Ref:
https://askubuntu.com/questions/310149/how-to-change-password-of-an-enrypted-ubuntu-user-account
https://superuser.com/questions/1184692/ubuntu-change-the-passphrase-on-a-ecryptfs-home-directory