Bug 1005

Summary: installing openssh on AIX takes a long time when there are many users
Product: Portable OpenSSH Reporter: David Leonard <David.Leonard>
Component: Build systemAssignee: 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    

Description David Leonard 2005-03-29 15:58:54 AEST
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
Comment 1 Darren Tucker 2005-03-29 23:28:15 AEST
OK, I can see how that could be inconvenient :-)  Patch applied, thanks.
Comment 2 Darren Tucker 2006-10-07 11:39:25 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.