bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PAM support lacks pam_setcred() call


From: Marc Singer
Subject: Re: PAM support lacks pam_setcred() call
Date: Tue, 28 Oct 2003 08:57:31 -0800
User-agent: Mutt/1.5.4i

On Tue, Oct 28, 2003 at 08:01:09AM +0100, Brian Murphy wrote:
> Marc Singer wrote:
> 
> >In looking at the patch, I wonder if there is a conflict with
> >switch_to_user call.  I wonder this, because my debugging uncovered
> >that once I got pam_group to work, the switch_to_user() call overwrote
> >it.
> >
> > 
> >
> Yes, the second call to pam_setcred is necessary to reestablish 
> credentials after the initgroups
> call (which resets the group membership to that in /etc/group).
> When I said test the patch I meant I thought it did what you wanted - it 
> seems to react in the correct
> way under my testing with a similar group.conf file to yours.

I'm on another project at the moment.  I expect to be back on that one
within a week.  I'll try the patch and send you a report.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]