(tim) [buildpkg.sh.in] grep for $SSHDUID instead of $SSHDGID on /etc/passwd

This commit is contained in:
Tim Rice 2005-12-28 14:28:08 -08:00
parent 7bff1a9b5e
commit 8db70e2398
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
20051229
- (tim) [buildpkg.sh.in] grep for $SSHDUID instead of $SSHDGID on /etc/passwd
20051224
- (djm) OpenBSD CVS Sync
- jmc@cvs.openbsd.org 2005/12/20 21:59:43
@ -3549,4 +3552,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4051 2005/12/24 03:59:12 djm Exp $
$Id: ChangeLog,v 1.4052 2005/12/28 22:28:08 tim Exp $

View File

@ -353,7 +353,7 @@ else
# Create user if required
[ "\$DO_PASSWD" = yes ] && {
# Use uid of 67 if possible
if cut -f3 -d: \${PKG_INSTALL_ROOT}/etc/passwd | egrep '^'$SSHDGID'\$' >/dev/null
if cut -f3 -d: \${PKG_INSTALL_ROOT}/etc/passwd | egrep '^'$SSHDUID'\$' >/dev/null
then
:
else