freebsd-dev/contrib/pam_zfs_key
Val Packett ae0d0f0e04
PAM: support the authentication facility
Implement the pam_sm_authenticate method, using the noop argument of
lzc_load_key to do a passphrase check without actually loading the key.

This allows using ZFS as the source of truth for user passwords,
without storing any password hashes in /etc or using other PAM modules.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Felix Dörre <felix@dogcraft.de>
Signed-off-by: Val Packett <val@packett.cool>
Closes #14789
2023-04-27 09:49:03 -07:00
..
Makefile.am autoconf: use include directives instead of recursing down contrib 2022-05-10 10:19:44 -07:00
pam_zfs_key.c PAM: support the authentication facility 2023-04-27 09:49:03 -07:00
zfs_key pam: implement a zfs_key pam module 2020-06-24 18:45:44 -07:00