[Bug 255420] pam_exec expose_auth_tok segfaults
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 26 15:22:52 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255420
--- Comment #1 from Rudolf Polzer <divVerent at gmail.com> ---
I should add: my use case is mounting an encrypted ZFS dataset on login, and
unmounting on logout.
So I have no use case of actually getting the password in pam_sm_setcred, and
there's already an environment variable provided by pam_exec that lets me
distinguish; for me it'd thus be perfectly fine if stdin were just empty in the
pam_sm_setcred case.
For now I am using pam_script from the ports; this does seem to work, but seems
more complex than actually required.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list