diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 1997-11-01 15:03:05 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 1997-11-01 15:03:05 +0000 |
commit | 7010605e55c886669055cea22644f565ef5b4d8c (patch) | |
tree | 7afe50caf64d473b7e526687c2040a96d9f53e19 /etc/periodic | |
parent | d5c1fb3ee9d0302114b2272fb90639f5b19f7b0c (diff) | |
download | src-7010605e55c886669055cea22644f565ef5b4d8c.tar.gz src-7010605e55c886669055cea22644f565ef5b4d8c.zip |
Check for files belongs to an unknown user or unknown group.
Do not run by default.
Notes
Notes:
svn path=/head/; revision=30881
Diffstat (limited to 'etc/periodic')
-rw-r--r-- | etc/periodic/weekly/340.noid | 14 | ||||
-rw-r--r-- | etc/periodic/weekly/Makefile | 3 |
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> |