freebsd-dev/contrib
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
..
bash_completion.d Ubuntu 22.04 integration: ShellCheck 2022-11-18 11:24:48 -08:00
bpftrace Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
coverity Coverity Model Update 2022-11-29 10:00:56 -08:00
debian Work around Raspberry Pi kernel packaging oddities 2023-04-17 17:38:09 -07:00
dracut contrib: dracut: fix race with root=zfs:dset when necessities required 2023-03-31 09:47:48 -07:00
initramfs initramfs: source user scripts from /e/z/initramfs-tools-load-key{,.d/*} 2023-04-12 10:08:49 -07:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key PAM: support the authentication facility 2023-04-27 09:49:03 -07:00
pyzfs Better handling for future crypto parameters 2023-03-07 14:05:14 -08:00
zcp Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
Makefile.am autoconf: use include directives instead of recursing down contrib 2022-05-10 10:19:44 -07:00