I have encrypted my home disk a long time ago and I configured pam to mount it automatically on login.

However after update to version 1.1.5-3 pam is not mounting the disk anymore. Here are the logs :

PAM adding faulty module: /usr/lib/security/pam_ecryptfs.so
pam_unix(login:session): session closed for user ben
PAM unable to dlopen(/usr/lib/security/pam_ecryptfs.so): /usr/lib/security/pam_ecryptfs.so: cannot open shared object file: No such file or directory

Seems like the pam-ecryptfs library has been removed.

How can I fix this?

1 Answer 1


In ecryptfs-utils 96-1 the file pam_ecryptfs.so is installed in /lib/security (click) which was changed in ecryptfs-utils 96-2 to /usr/lib/security (click). You might just need to update your system.

  • My system is up to date, I'm using ArchLinux. pam-ecryptfs is still located in /lib/security and if I copy it /usr/lib/secrity it works.
    – Ben D
    May 4, 2012 at 10:43
  • ecryptfs-utils 96-2 is still in testing (click)
    – Wieland
    May 4, 2012 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.