PAM session setup and environment variables
Michal Sekletar
msekleta at redhat.com
Tue Dec 17 03:50:47 AEDT 2024
On Mon, Dec 16, 2024 at 3:22 PM Alexander Bokovoy via openssh-unix-dev
<openssh-unix-dev at mindrot.org> wrote:
> This override in pam_systemd happens after it derived a type, class, and
> the rest of possible settings from the configuration and PAM
> environment, so it will not really help to just pass-through the
> environment variables.
You are right, however, I have a local version where I've changed this
particular piece of code to respect environment variables even for
case of SSH. I wanted to submit it upstream, but I've noticed that I
am unable to pass in environment variables in the first place.
Michal
More information about the openssh-unix-dev
mailing list