Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2024 00:37:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282957] 14.2-RC1 installer does not complete user account creation when ZFS encryption selected for user
Message-ID:  <bug-282957-227-e8u4UpipdQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282957-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282957

--- Comment #6 from Dag-Erling Smørgrav <des@FreeBSD.org> ---
I assume this is after the post-install reboot.  The ZFS dataset exists but is
not mounted because you have not loaded the passphrase.  You'll need to
configure `pam_zfs_key` to do it automatically on login.  Unfortunately it
doesn't work with sshd because the OpenSSH developers have intentionally broken
PAM integration, but for console logins you can append the following to
/etc/pam.d/system:

auth    optional        pam_zfs_key.so  try_first_pass homes=zroot/home
session optional        pam_zfs_key.so  homes=zroot/home

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282957-227-e8u4UpipdQ>