mirror_zfs/contrib
cragw dc6d39a85e
pam_zfs_key: accommodate different dataset naming scheme
Name of dataset for user home directory may vary from the expected
$homes_prefix/$username, if different naming scheme is being used.

We can use property mountpoint to specify the dataset for $username
as long as its value is identical to passwd's pw_dir.

For example:
    NAME                       PROPERTY     VALUE
    rpool/home/myuser_123456   mountpoint   /home/myuser

Reviewed-by: Felix Dörre <felix@dogcraft.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Crag Wang <crag0715@gmail.com>
Closes #11165
2020-11-22 09:32:34 -08:00
..
bash_completion.d Merge bash_completions changes from upstream 2020-06-16 12:27:23 -07:00
bpftrace Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
dracut dracut/mount-zfs.sh: quote expansion on zpool test 2020-11-19 16:20:57 -08:00
initramfs initramfs: zfsunlock hook breaks /usr/bin 2020-11-10 11:12:07 -08:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key pam_zfs_key: accommodate different dataset naming scheme 2020-11-22 09:32:34 -08:00
pyzfs Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am pam: implement a zfs_key pam module 2020-06-24 18:45:44 -07:00