The PAM support in 'gdm' does not support pam_putenv(). Some PAM modules expect to be able to set environment variables in the child process. A prime example is Kerberos PAM modules, which want to set the KRBTKFILE environment variables both for security reasons and to allow a single user to have multiple 'Kerberos sessions' each with different ticket files. Here is a patch that enables this functionality. I have already sent it to the author of gdm, Martin Kasper Petersen <mkp.dk>; however, if it does not become part of the main gdm source in time, please apply it or something like it to the next version of Red Hat: http://www.engin.umich.edu/caen/systems/Linux/code/patches/gdm-1.0.0-morepam.patch Thank you very much, Chris Wing wingc.edu
I've since heard back from the author of gdm. This is fixed in gdm 2.0, which hasn't been formally released yet but will be soon. If you don't upgrade to 2.0 by the next release of Red Hat, you should do something similar to my patch. The author told me he is no longer maintaining gdm 1.0.
Assigned to msf. Dr. Mike, are we going to use the new gdm in the next release? If not, we should use this patch.
Assign to mkj for now, since he is currently taking care of the gdm situation.
gdm 2.0beta2, currently in the lorax beta release, does support this.