aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-09-10 22:02:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-09-10 22:02:28 +0000
commitc6d6fe20957c2c62008aadfbc6ed0a85bb2ed7b2 (patch)
tree522525b54704eca9951be633c0b9cea022d7f4ec
parent3750bd0a7cf4423363079685ed812e8d328de2ee (diff)
downloadsrc-c6d6fe20957c2c62008aadfbc6ed0a85bb2ed7b2.tar.gz
src-c6d6fe20957c2c62008aadfbc6ed0a85bb2ed7b2.zip
MFC: Run uustat as the uucp user where it can't do any damage.
Notes
Notes: svn path=/releng/4.3/; revision=83316
-rwxr-xr-xetc/periodic/daily/410.status-uucp2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/daily/410.status-uucp b/etc/periodic/daily/410.status-uucp
index 96b52ec0e78a..0b086ab41720 100755
--- a/etc/periodic/daily/410.status-uucp
+++ b/etc/periodic/daily/410.status-uucp
@@ -27,7 +27,7 @@ case "$daily_status_uucp_enable" in
echo ""
echo "UUCP status:"
- uustat -a && rc=0 || rc=3
+ (echo "/usr/bin/uustat -a" | su -fm uucp ) && rc=0 || rc=3
fi;;
*) rc=0;;