Re: PAM module for loading ZFS keys on login

From: Eric McCorkle <eric_at_metricspace.net>
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 <eric@metricspace.net> wrote:
>> All,
>>
>> This patch creates a new PAM module that will load a ZFS key upon a
>> successful login: https://reviews.freebsd.org/D31844.  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 https://reviews.freebsd.org/D28018
> 
> Any particular reason to write a custom one?
>