felixdoerre 221e67040f
pam: implement a zfs_key pam module
Implements a pam module for automatically loading zfs encryption keys 
for home datasets. The pam module:

  - loads a zfs key and mounts the dataset when a session opens.
  - unmounts the dataset and unloads the key when the session closes.
  - when the user is logged on and changes the password, the module
    changes the encryption key.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: @jengelh <jengelh@inai.de>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Felix Dörre <felix@dogcraft.de>
Closes #9886
Closes #9903
2020-06-24 18:45:44 -07:00
..
2020-04-14 11:36:28 -07:00
2019-06-13 13:15:46 -07:00
2019-06-13 13:15:46 -07:00
2020-06-24 18:19:59 -07:00
2018-05-01 10:33:35 -07:00
2019-07-09 09:28:05 -07:00
2020-02-28 08:58:39 -08:00
2020-06-08 16:32:02 -07:00
2020-06-09 21:24:09 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2020-06-08 16:32:02 -07:00
2019-08-30 09:40:30 -07:00
2018-05-29 14:51:39 -07:00
2020-06-24 18:19:28 -07:00
2018-05-29 14:51:39 -07:00
2018-03-28 10:19:22 -07:00
2016-03-18 13:31:11 -07:00
2018-11-11 18:06:36 -08:00
2016-03-18 13:31:11 -07:00
2020-06-24 18:45:44 -07:00
2019-10-01 12:50:34 -07:00