Re: PAM module for loading ZFS keys on login

From: Eric McCorkle <>
Date: Sun, 05 Sep 2021 17:24:16 UTC
Interesting, I wasn't aware of the upstream module.  I'd say that's
preferable to the one I wrote.

I think you would need to wire that into the 'modules' directory under
libpam.  I can look into doing that.

On 9/5/21 11:27 AM, Greg wrote:
> On September 5, 2021 4:54:26 PM GMT+03:00, Eric McCorkle <> wrote:
>> All,
>> This patch creates a new PAM module that will load a ZFS key upon a
>> successful login:  It will use the
>> user's auth token as the key argument to loading a ZFS encryption key on
>> a user-specific ZFS data set.
> There's already an upstream module which I've attached to the build in
> Any particular reason to write a custom one?