aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/periodic/weekly/340.noid14
-rw-r--r--etc/periodic/weekly/Makefile3
2 files changed, 16 insertions, 1 deletions
diff --git a/etc/periodic/weekly/340.noid b/etc/periodic/weekly/340.noid
new file mode 100644
index 000000000000..4848ee3aabfe
--- /dev/null
+++ b/etc/periodic/weekly/340.noid
@@ -0,0 +1,14 @@
+#!/bin/sh -
+#
+# $Id$
+
+exit 0 # do not run by default
+
+echo ""
+echo "Check for files belongs to an unknown user or unknown group:"
+
+# directories to be verified
+: ${NOIDSEARCHPATHS="/"}
+
+find -H $NOIDSEARCHPATHS -fstype local \( -nogroup -or -nouser \) -print
+
diff --git a/etc/periodic/weekly/Makefile b/etc/periodic/weekly/Makefile
index 863e5e855e60..2c3d1c6b295f 100644
--- a/etc/periodic/weekly/Makefile
+++ b/etc/periodic/weekly/Makefile
@@ -1,10 +1,11 @@
-# $Id: Makefile,v 1.1.1.1 1997/08/16 17:04:02 pst Exp $
+# $Id: Makefile,v 1.2 1997/08/18 16:49:40 pst Exp $
BIN= 120.clean-kvmdb \
300.uucp \
310.locate \
320.whatis \
330.catman \
+ 340.noid \
999.local
.include <bsd.prog.mk>