Mailing List Archive

[Bug 1005] installing openssh on AIX takes a long time when there are many users
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@mindrot.org
ReportedBy: dleonard@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.
[Bug 1005] installing openssh on AIX takes a long time when there are many users [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1005


dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |994
nThis| |
Status|NEW |RESOLVED
Resolution| |FIXED




------- Additional Comments From dtucker@zip.com.au 2005-03-29 23:28 -------
OK, I can see how that could be inconvenient :-) Patch applied, thanks.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.