version 1.71, 2005/02/22 10:50:55 |
version 1.72, 2005/11/11 18:15:07 |
|
|
# Display any changes in setuid/setgid files and devices. |
# Display any changes in setuid/setgid files and devices. |
pending="\nChecking setuid/setgid files and devices:\n" |
pending="\nChecking setuid/setgid files and devices:\n" |
(find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \ |
(find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \ |
-o -fstype procfs \) -a -prune -o \ |
-o -fstype procfs -o -fstype afs -o -fstype xfs \) -a -prune -o \ |
-type f -a \( -perm -u+s -o -perm -g+s \) -print0 -o \ |
-type f -a \( -perm -u+s -o -perm -g+s \) -print0 -o \ |
! -type d -a ! -type f -a ! -type l -a ! -type s -a ! -type p \ |
! -type d -a ! -type f -a ! -type l -a ! -type s -a ! -type p \ |
-print0 | xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT |
-print0 | xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT |