diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-03-29 23:24:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-03-29 23:24:12 +1000 |
commit | 6e1defdc5a597902f6899b71e635e718ffa8a2b6 (patch) | |
tree | db10f7d2ec4e19b401fdd1d85efe2a4b35246bf0 /contrib/aix | |
parent | e66519d94207187a71d274ab70a6647318ed877d (diff) |
- (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're
interested in which is much faster in large (eg LDAP or NIS) environments.
Patch from dleonard at vintela.com.
Diffstat (limited to 'contrib/aix')
-rwxr-xr-x | contrib/aix/buildbff.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/aix/buildbff.sh b/contrib/aix/buildbff.sh index 4a5c32b0..09b9c118 100755 --- a/contrib/aix/buildbff.sh +++ b/contrib/aix/buildbff.sh @@ -1,7 +1,7 @@ #!/bin/sh # # buildbff.sh: Create AIX SMIT-installable OpenSSH packages -# $Id: buildbff.sh,v 1.7 2003/11/21 12:48:56 djm Exp $ +# $Id: buildbff.sh,v 1.8 2005/03/29 13:24:12 dtucker Exp $ # # Author: Darren Tucker (dtucker at zip dot com dot au) # This file is placed in the public domain and comes with absolutely @@ -219,7 +219,7 @@ else fi # Create user if required - if lsuser ALL | cut -f1 -d: | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null + if lsuser "$SSH_PRIVSEP_USER" >/dev/null then echo "PrivSep user $SSH_PRIVSEP_USER already exists." else |