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: Brian Murphy
Subject: Re: PAM support lacks pam_setcred() call
Date: Tue, 28 Oct 2003 08:01:09 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529

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.

/Brian






reply via email to

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