Solved Enable ZFS encryption during adduser

Hey Everyone,

I selected Enable ZFS encryption in the adduser step during the installation of FreeBSD14.1 stable.
After I restarted, the data in my Home directory became invisible.
I guess this is caused by Enable ZFS encryption.
What should I do to solve this problem?
 
I found the solution.
Probably due to encryption being enabled, my Home directory was not being mounted correctly.
After I mounted it manually, the problem was solved.
 
I selected Enable ZFS encryption in the adduser step during the installation of FreeBSD14.1 stable.
This is a fairly new feature. And I suggest using 14.1-RELEASE for the time being (official release should come soon). The -STABLE snapshot you used cannot be updated with freebsd-update(8). If intentional that's fine but I suspect you don't know how development is done on FreeBSD and picked the 'wrong' version. https://forums.freebsd.org/threads/lts-support-and-version-clarifications.79890/#post-506851

After I restarted, the data in my Home directory became invisible.
Probably due to encryption being enabled, my Home directory was not being mounted correctly.
You might be missing the pam_zfs_key modules in /etc/pam.d/login and /etc/pam.d/passwd. Those should unlock the home directory when you login.

 
Back
Top