#!/bin/sh
# Find all the set?id files in the system.  Best run as su, so that we can
# search all directories and look at all files.

find / '(' -perm -4000 -o -perm -2000 ')' \
	-exec ls -ldg {} ';' 2>/dev/null
