| Summary: | installing openssh on AIX takes a long time when there are many users | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | David Leonard <David.Leonard> |
| Component: | Build system | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 4.0p1 | ||
| Hardware: | All | ||
| OS: | AIX | ||
| Bug Depends on: | |||
| Bug Blocks: | 994 | ||
OK, I can see how that could be inconvenient :-) Patch applied, thanks. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |
The post-install script of the AIX install uses something like 'lsusers ALL | grep ssh' to see if the privsep user has been created. The trouble is that invoking 'lsusers ALL' takes TWO HOURS to complete at a particular site with thousands of users! The simple fix to contrib/aix/buildbff.sh was: 225c225 < if lsuser ALL | cut -f1 -d: | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null --- > if lsuser "$SSH_PRIVSEP_USER" >/dev/null