Ecryptfs-migrate-home -u USER

Hello community,
I cannot login after running

ecryptfs-migrate-home -u MYUSER

how to reproduce:

  • su -

  • useradd -m TEMPUSER

  • Log out

  • Log in as TEMPUSER

  • su -

  • pacman -S lsof

  • modprobe ecryptfs

  • ecryptfs-migrate-home -u MYUSER

  • Terminal output: Success, please log into the encrypted user account before reboot

  • Log out

At this point I cannot log in with the encrypted home account ‘MYUSER’. I tried both in Manjaro GNOME and XFCE. Does anybody know what I am missing? Thank you in advance for your support.

1 Like

Hello,

Yes, to complete the entire setup as described here eCryptfs - ArchWiki

I followed the entire set-up I got the same result. I ended up using this script: https://gist.github.com/NCC-Gnisha/bf313b1f22e17a3c377baf7bb1273dc1

@ipolit - please check Forum Rules - Manjaro for necro-bumping and avoid doing it in the future.