This is not a bug in pam_env.  Your expectation does not match the
design of pam_env; pam_env never modifies the application's environment,
it only populates the pam-handle-specific "environment" list with a set
of variables that the application can then consume.

You appear to be expecting that you can use pam_env to set an
environment variable that will then be seen by a subsequent module in
the authentication stack, and that's not what it's for.

> auth    required        pam_env.so readenv=1
envfile=/opt/IBM/informix/etc/locale user_readenv=0

> My solution to this issue was a self written PAM-Module

It sounds to me like this is not reusable in the least and what you
actually want is to set the environment of the server process at start-
up time.


** Changed in: pam (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1608509

Title:
  pam_env does not change charset of authentication process

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1608509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to