aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly/340.noid
blob: 8a94924b67032aa025e5709129802f1d526daec7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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