From 3a0615b67aeeb0e4cb3563df15bf7b2093e28dbc Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 18 May 2009 19:57:56 +0000 Subject: [PATCH] /usr/libexec should not be put into the PATH rely on the PATH set up in the root crontab(5), just like in monthly(8) suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@; "absolutely" deraadt@ --- src/etc/weekly | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/etc/weekly b/src/etc/weekly index 28ac1ebb..08ed1452 100644 --- a/src/etc/weekly +++ b/src/etc/weekly @@ -1,11 +1,8 @@ # -# $OpenBSD: weekly,v 1.21 2009/05/10 19:27:25 schwarze Exp $ +# $OpenBSD: weekly,v 1.22 2009/05/18 19:57:56 schwarze Exp $ # umask 022 -PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec -export PATH - PARTOUT=/var/log/weekly.part MAINOUT=/var/log/weekly.out install -o 0 -g 0 -m 600 /dev/null $PARTOUT @@ -64,7 +61,7 @@ if [ -f /var/db/locate.database ]; then fi next_part "Rebuilding whatis databases:" -makewhatis +/usr/libexec/makewhatis # If LOGINACCOUNTING is set to 1 in the environment, report user # accounting information