On Sun, Jan 27, 2002 at 09:33:15PM +0100, Volker Stolz wrote:
> In local.freebsd-hackers, you wrote:
> > I'll accept that there might be bad interactions between PAM and
> > setusercontext() that I haven't considered.  I'm not familiar enough with
> > PAM to know what those would be.
> 
> For example you have to think about which flags to pass to
> setusercontext() and when to call it. Doing it whit LOGIN_SETALL
> *after* pam_setcred is definitely the wrong choice.

Yes, I noticed that xdm takes steps to avoid doing that.

> > In any case, hacking kdm is considerably less work, so I might as well do
> > that first.
> 
> But beware of those convoluted #ifdefs.  In gdm, things where much
> easier.

It is quite an ugly piece of code... hopefully less so after I'm done with
it, however :-)

        Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
[EMAIL PROTECTED] | 0xAA775B8B |      -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to