[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.
- Re: PAM support lacks pam_setcred() call, (continued)
- Re: PAM support lacks pam_setcred() call, Brian Murphy, 2003/10/21
- Re: PAM support lacks pam_setcred() call, Steve McIntyre, 2003/10/21
- Re: PAM support lacks pam_setcred() call, Steve McIntyre, 2003/10/21
- Re: PAM support lacks pam_setcred() call, Derek Robert Price, 2003/10/21
- Re: PAM support lacks pam_setcred() call, Steve McIntyre, 2003/10/22
- Re: PAM support lacks pam_setcred() call, Derek Robert Price, 2003/10/22
Re: PAM support lacks pam_setcred() call, Brian Murphy, 2003/10/27
Re: PAM support lacks pam_setcred() call, Marc Singer, 2003/10/27