Browse Source

do not scan afs/xfs directories; chris.kuethe

OPENBSD_3_9
deraadt 19 years ago
parent
commit
57d85b3838
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/security

+ 2
- 2
src/etc/security View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: security,v 1.71 2005/02/22 10:50:55 otto Exp $
# $OpenBSD: security,v 1.72 2005/11/11 18:15:07 deraadt Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@ -458,7 +458,7 @@ fi
# Display any changes in setuid/setgid files and devices.
pending="\nChecking setuid/setgid files and devices:\n"
(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 d -a ! -type f -a ! -type l -a ! -type s -a ! -type p \
-print0 | xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT


Loading…
Cancel
Save