version 1.73, 2005/11/24 12:08:15 |
version 1.74, 2005/12/06 20:18:56 |
|
|
|
|
# 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 \ |
(find / \( ! -fstype local \ |
-o -fstype procfs -o -fstype afs -o -fstype xfs \) -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 \ |