Public bug reported: When logging on using a regular account with a non-encrypted home directory vsftpd fails with the following lines written to the syslog:
Jan 13 11:00:31 shusaku vsftpd: pam_ecryptfs: Passphrase file wrapped Jan 13 11:00:31 shusaku vsftpd: pam_ecryptfs: Unable to rewrap passphrase file Jan 13 11:00:31 shusaku vsftpd: Failed to detect wrapped passphrase version: Permission denied Jan 13 11:00:31 shusaku vsftpd: Error attempting to unwrap passphrase from file [/var/ftp/import/.ecryptfs/wrapped-passphrase]; rc = [-13] It results in two spawned vsftpd daemons running. I solved the issue by creating an adapted version of common-auth, named it common-auth-vsftpd and adjusted it as follows: # auth optional pam_ecryptfs.so unwrap In pam.d/vsftpd I call the new common-auth-vsftpd (instead of common- auth) as follows: @include common-auth-vsftpd This solved the issue. But in my opinion vsftpd should not fail in the first place with the default /etc/pam.d files in place. ** Affects: vsftpd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1533605 Title: vsftpd local user authentication failure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1533605/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs