freebsd-dev/etc/periodic/weekly/340.noid
1999-08-27 23:37:10 +00:00

15 lines
266 B
Bash

#!/bin/sh -
#
# $FreeBSD$
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