version 1.9, 1994/06/15 04:28:20 |
version 1.9.2.1, 1994/10/18 18:41:40 |
|
|
|
|
# Display any changes in setuid files and devices. |
# Display any changes in setuid files and devices. |
printf "\nChecking setuid files and devices:\n" |
printf "\nChecking setuid files and devices:\n" |
(find / ! -fstype local -a -prune -o \ |
(find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \ |
|
-o -fstype procfs \) -a -prune -o \ |
\( -perm -u+s -o -perm -g+s -o ! -type d -a ! -type f -a ! -type l -a \ |
\( -perm -u+s -o -perm -g+s -o ! -type d -a ! -type f -a ! -type l -a \ |
! -type s \) | \ |
! -type s \) | \ |
sort | sed -e 's/^/ls -ldgT /' | sh > $LIST) 2> $OUTPUT |
sort | sed -e 's/^/ls -ldgT /' | sh > $LIST) 2> $OUTPUT |