[Bug 789] pam_setcred() not being called as root

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jan 16 00:29:38 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=789





------- Additional Comments From egmont at uhulinux.hu  2004-01-16 00:29 -------
No. Some debug stuff put into pam_group shows that it calls setgroups()
(actually I'm already member of the groups it wants to add, since it's
called for the second time, but this is not a problem), but being non-root
setgroups() returns -1 EPERM and this causes pam_group to return PAM_CRED_ERR.
I think it's okay for pam_group to return an error in this situation.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list