Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 00:06:46 +0000
From:      Chris <ccsanady@iastate.edu>
To:        freebsd-hackers@freebsd.org
Subject:   PAM issues..
Message-ID:  <3A2ED495.397B46A3@iastate.edu>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2ED495.397B46A3>