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@SunSITE.auc.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:
Thank you very much,
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
If not, we should use this patch.
Assign to mkj for now, since he is currently taking care of the gdm
gdm 2.0beta2, currently in the lorax beta release, does support this.