summaryrefslogtreecommitdiff
path: root/contrib/aix/buildbff.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-03-29 23:24:12 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-03-29 23:24:12 +1000
commit6e1defdc5a597902f6899b71e635e718ffa8a2b6 (patch)
treedb10f7d2ec4e19b401fdd1d85efe2a4b35246bf0 /contrib/aix/buildbff.sh
parente66519d94207187a71d274ab70a6647318ed877d (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/buildbff.sh')
-rwxr-xr-xcontrib/aix/buildbff.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/aix/buildbff.sh b/contrib/aix/buildbff.sh
index 4a5c32b0e..09b9c118c 100755
--- a/contrib/aix/buildbff.sh
+++ b/contrib/aix/buildbff.sh
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# buildbff.sh: Create AIX SMIT-installable OpenSSH packages 3# buildbff.sh: Create AIX SMIT-installable OpenSSH packages
4# $Id: buildbff.sh,v 1.7 2003/11/21 12:48:56 djm Exp $ 4# $Id: buildbff.sh,v 1.8 2005/03/29 13:24:12 dtucker Exp $
5# 5#
6# Author: Darren Tucker (dtucker at zip dot com dot au) 6# Author: Darren Tucker (dtucker at zip dot com dot au)
7# This file is placed in the public domain and comes with absolutely 7# This file is placed in the public domain and comes with absolutely
@@ -219,7 +219,7 @@ else
219 fi 219 fi
220 220
221 # Create user if required 221 # Create user if required
222 if lsuser ALL | cut -f1 -d: | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null 222 if lsuser "$SSH_PRIVSEP_USER" >/dev/null
223 then 223 then
224 echo "PrivSep user $SSH_PRIVSEP_USER already exists." 224 echo "PrivSep user $SSH_PRIVSEP_USER already exists."
225 else 225 else