[Bug 1060] ~/.ssh/config check too strict on systems with per-user groups

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Nov 6 06:35:59 EST 2005


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





------- Comment #6 from cjwatson at debian.org  2005-11-06 06:35 -------
(In reply to comment #4)
> (In reply to comment #3)
> > The only reason the user name is used is because struct group only lets you
> > inspect group membership by means of the user name.
> 
> No, I was referring to:
> 
> +			else if (gr->gr_mem[0]) {
> +				if (strcmp(pw->pw_name, gr->gr_mem[0]) ||
> +				    gr->gr_mem[1])
> 
> where you make decisions on the group name being the same as the user name. 

For the record, gr_mem[0] is the first group member (i.e. a user name), not the
group name.




------- 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