Hi, I have been writing a PAM module to do Kerberos 5 and AFS stuff, and
have run across a couple of problems.
First of all, the simple one. :) How do you set or modify an
environment
variable? Neither setenv, pam_misc_setenv, or pam_putenv seem to be
work.
>From what I gather from the pam_ssh module, there may be issues with
where
the environment is located, but they are not terribly clear to me.
The next is pam_setcred(). I've noticed that this is not actually
called
from login/etc, so it doesn't do much good. Is this intentional? Not
that it matters much, for anything other than compatibility with other
modules.
Also, are there any thoughts on session support? It seems like it would
be pretty trivial to have login hang around to execute these hooks.
Most
any other method of logging in (ssh, xdm, etc) already provides a
context
to do this from. What is the thought on keeping login around?
I would be willing to try to fix the last two, but I'm not sure what to
do with the first. Any ideas as to that problem would be welcome.
Chris
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message