pam_ecryptfs(8)
π pam_ecryptfs β bestie's guide to the eCryptfs PAM module π
okay so this is the pam_ecryptfs(8) page, straight out of the Linux-PAM Manual. grab a strawberry π and let's get into it.
β¨ NAME β¨
pam_ecryptfs β the PAM module for eCryptfs π
π¦ SYNOPSIS π¦
pam_ecryptfs.so [unwrap]
that's it. that's the whole vibe. one optional argument, no notes. π
πΈ DESCRIPTION πΈ
so pam_ecryptfs is a PAM module, right, and what it does is genuinely iconic: it takes your login password and uses it to unwrap an ecryptfs mount passphrase that's chillin' in ~/.ecryptfs/wrapped-passphrase, and then it automatically mounts a private cryptographic directory. no cap. π₯
like, you log in, and your secret lil encrypted corner of the filesystem justβ¦ shows up. main character energy fr fr. π
β¨ OPTIONS β¨
unwrapβ use the login passphrase to unwrap an eCryptfs mount passphrase. that's the one, that's the option, she's the moment. π«Ά
π MODULE SERVICES PROVIDED π
the services auth and session are supported. just those two, bestie. periodt. π
π EXAMPLES π
ok so picture this: you wanna unwrap a mount passphrase and automatically mount a private directory on login. you're gonna add these lines to these files. let's go. π§
/etc/pam.d/common-auth:
auth required pam_ecryptfs.so unwrap
/etc/pam.d/common-session:
session optional pam_ecryptfs.so unwrap
that's the whole setup. slay. β¨
π SEE ALSO π
ecryptfs(7)pam.conf(5)pam.d(8)pam(8)/usr/share/doc/ecryptfs-utils/ecryptfs-faq.htmlhttp://ecryptfs.org/
go read the faq, iykyk. π
π AUTHOR π
this manpage was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. π«Ά
on Debian and Ubuntu systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. go look, it's right there bestie π
mwah, that's the whole page β brought to you by the Linux-PAM Manual, dated 2008-07-21, and filed under pam_ecryptfs(8). take care of your wrapped passphrases and drink some water. ππ¦
π¦ where this page comes from
- alpine 3.24: ecryptfs-utils-doc 111-r19 Β· GPL-2.0-or-later
- arch rolling: ecryptfs-utils 111-9 Β· GPL
- debian bookworm: ecryptfs-utils 111-6 Β· GPL-2.0-or-later
- debian trixie: ecryptfs-utils 111-8 Β· GPL-2.0-or-later
- fedora 43: ecryptfs-utils 111-41.fc43 Β· GPL-2.0-or-later
- fedora 44: ecryptfs-utils 111-42.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- ubuntu jammy: ecryptfs-utils 111-5ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: ecryptfs-utils 111-6ubuntu3 Β· GPL-2.0-or-later
- ubuntu questing: ecryptfs-utils 111-8
- ubuntu resolute: ecryptfs-utils 111-8build2 Β· GPL-2.0-or-later
- ubuntu stonking: ecryptfs-utils 111-8build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms