summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--buildpkg.sh.in10
2 files changed, 3 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 5791ec255..0ebeee281 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
120060909 120060909
2 - (dtucker) [openbsd-compat/bsd-snprintf.c] Add stdarg.h. 2 - (dtucker) [openbsd-compat/bsd-snprintf.c] Add stdarg.h.
3 - (dtucker) [contrib/aix/buildbff.sh] Always create privsep user. 3 - (dtucker) [contrib/aix/buildbff.sh] Always create privsep user.
4 - (dtucker) [buildpkg.sh.in] Always create privsep user. ok djm@
4 5
520060908 620060908
6 - (dtucker) [auth-sia.c] Add includes required for build on Tru64. Patch 7 - (dtucker) [auth-sia.c] Add includes required for build on Tru64. Patch
@@ -5419,4 +5420,4 @@
5419 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5420 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5420 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5421 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5421 5422
5422$Id: ChangeLog,v 1.4539 2006/09/09 10:34:15 dtucker Exp $ 5423$Id: ChangeLog,v 1.4540 2006/09/09 10:41:25 dtucker Exp $
diff --git a/buildpkg.sh.in b/buildpkg.sh.in
index 31db10d66..a3960cb89 100644
--- a/buildpkg.sh.in
+++ b/buildpkg.sh.in
@@ -311,14 +311,7 @@ then
311 chroot=echo 311 chroot=echo
312fi 312fi
313 313
314if egrep '^[ \t]*UsePrivilegeSeparation[ \t]+no' \${PKG_INSTALL_ROOT}/$sysconfdir/sshd_config >/dev/null 314 echo "PrivilegeSeparation user always required."
315then
316 echo "UsePrivilegeSeparation disabled in config, not creating PrivSep user"
317 echo "or group."
318else
319 echo "UsePrivilegeSeparation enabled in config (or defaulting to on)."
320
321 # user required?
322 if cut -f1 -d: \${PKG_INSTALL_ROOT}/etc/passwd | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null 315 if cut -f1 -d: \${PKG_INSTALL_ROOT}/etc/passwd | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null
323 then 316 then
324 echo "PrivSep user $SSH_PRIVSEP_USER already exists." 317 echo "PrivSep user $SSH_PRIVSEP_USER already exists."
@@ -363,7 +356,6 @@ else
363 \$chroot ${PATH_USERADD_PROG} -c 'SSHD PrivSep User' -s /bin/false -g $SSH_PRIVSEP_USER \$sshduid $SSH_PRIVSEP_USER 356 \$chroot ${PATH_USERADD_PROG} -c 'SSHD PrivSep User' -s /bin/false -g $SSH_PRIVSEP_USER \$sshduid $SSH_PRIVSEP_USER
364 \$chroot ${PATH_PASSWD_PROG} -l $SSH_PRIVSEP_USER 357 \$chroot ${PATH_PASSWD_PROG} -l $SSH_PRIVSEP_USER
365 } 358 }
366fi
367 359
368[ "\${POST_INS_START}" = "yes" ] && ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start 360[ "\${POST_INS_START}" = "yes" ] && ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start
369exit 0 361exit 0