[Bug 1005] installing openssh on AIX takes a long time when there are many users
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Mar 29 15:58:54 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=1005
Summary: installing openssh on AIX takes a long time when there
are many users
Product: Portable OpenSSH
Version: 4.0p1
Platform: All
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: dleonard at vintela.com
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
------- 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