Browse Source

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@.
OPENBSD_5_0
schwarze 13 years ago
parent
commit
3bd17c7ece
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/daily

+ 2
- 1
src/etc/daily View File

@ -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 # From: @(#)daily 8.2 (Berkeley) 1/25/94
# #
# For local additions, create the file /etc/daily.local. # 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 install -o 0 -g 0 -m 600 -b /dev/null $MAINOUT
start_part "Running security(8):" start_part "Running security(8):"
export SUIDSKIP
/usr/libexec/security /usr/libexec/security
end_part end_part
rm -f $PARTOUT rm -f $PARTOUT


Loading…
Cancel
Save