| Summary: | Use of Allow/DenyGroups leads to slow login | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Erik Forsberg <forsberg> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WORKSFORME | ||
| Severity: | normal | CC: | djm, dtucker |
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Erik Forsberg
2007-03-15 21:23:53 AEDT
sshd uses getgrouplist for this which queries only for the specified user. If the platform doesn't have getgrouplist then the compat code does enumerate all groups. Is your configuration using a native getgrouplist (check config.h for HAVE_GETGROUPLIST)? If so, why doesn't getgrouplist do the same optimization as initgroups? 12 years with no followup == no bug Move resolved bugs -> CLOSED after 8.0 release |