From e7b9cd9e3e621b9fe002d9dbcfd0d9db961cab34 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 23 Apr 2011 19:35:54 +0000 Subject: Even though SUIDSKIP used to be a mere shell variable, it was propagated to the old /etc/security script because daily sourced it. Now we fork and exec, so SUIDSKIP must be promoted to the environment. Problem reported, fix tested and ok weerd@. --- etc/daily | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/daily b/etc/daily index 941d1f0dfff..bd9e5355536 100644 --- a/etc/daily +++ b/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.70 2011/04/17 21:26:38 schwarze Exp $ +# $OpenBSD: daily,v 1.71 2011/04/23 19:35:53 schwarze Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -193,6 +193,7 @@ MAINOUT=/var/log/security.out install -o 0 -g 0 -m 600 -b /dev/null $MAINOUT start_part "Running security(8):" +export SUIDSKIP /usr/libexec/security end_part rm -f $PARTOUT -- cgit v1.2.3