[Bug 289398] adduser(8) fails to handle short passwords for ZFS native-encryption home directories

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Sep 2025 04:22:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289398

Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zarychtam@plan-b.pwste.edu.
                   |                            |pl

--- Comment #1 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
This requirement, AFAIR lying in ZFS code, should probably be relaxed,
especially since pam_zfs_key.so, when invoked by passwd(1), allows setting a
shorter password.

Workaround: create a user with a long password using adduser(8), and then
change the password with passwd(1), which will update the dataset password to
be shorter than 8 characters.

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