You are not logged in.

#1 2017-02-26 04:23:48

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Unencrypting+mounting zfs /home/$USER on login

I have an encrypted drive using ZFS which I mount as my primary user's home directory, i.e. /home/emacsomancer.  Right now I have the systemd modules zfs-import-cache and zfs-mount enabled and have it decrypt (on boot) using a password via crypttab.  This works, of course, but I'd really like to delay unencryption & mounting of this partition until the login of emacsomancer (so that it won't mount or ask to mount for other users). 

What I've tried:

- https://wiki.archlinux.org/index.php/Dm … g_at_login

- https://wiki.archlinux.org/index.php/Pam_mount


But I couldn't get either of these to work, even adapting the example configs to zfs.

Last edited by emacsomancer (2017-02-26 04:24:10)

Offline

Board footer

Powered by FluxBB