summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-05-07 12:35:03 +0000
committerjkh <jkh@FreeBSD.org>1997-05-07 12:35:03 +0000
commit7a6376d97fd668549aed3f059de7e15981ab5ba1 (patch)
tree5d4199b0da801b54b172c046100828af945198ac
parent360ef2058cf26054e24616f008f2e7f4fdbe20da (diff)
downloadFreeBSD-src-7a6376d97fd668549aed3f059de7e15981ab5ba1.zip
FreeBSD-src-7a6376d97fd668549aed3f059de7e15981ab5ba1.tar.gz
Use full path to sendmail for security reasons.
Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index e29aa75..4c155cd 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.121 1997/05/04 22:33:17 andreas Exp $
+# $Id: rc,v 1.122 1997/05/05 07:08:30 jkh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -225,7 +225,7 @@ if [ "X${lpd_enable}" = X"YES" ]; then
fi
if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
- echo -n ' sendmail'; sendmail ${sendmail_flags}
+ echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
echo '.'
OpenPOWER on IntegriCloud