summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-04-23 19:35:54 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-04-23 19:35:54 +0000
commite7b9cd9e3e621b9fe002d9dbcfd0d9db961cab34 (patch)
treeeb43ca9078199161b367f892afdcafe27be36d64
parent82f35fa7023a9f4a0e36ed283f4de568fad99300 (diff)
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@.
-rw-r--r--etc/daily3
1 files changed, 2 insertions, 1 deletions
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