freebsd-skq/etc/periodic/weekly/340.noid
1997-11-01 15:03:05 +00:00

15 lines
261 B
Bash

#!/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