Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2021 15:22:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255420] pam_exec expose_auth_tok segfaults
Message-ID:  <bug-255420-227-1Jm77O714H@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255420-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255420-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255420

--- Comment #1 from Rudolf Polzer <divVerent@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, a=
nd
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 s=
eems
more complex than actually required.

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



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