diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-11 18:15:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-11 18:15:08 +0000 |
commit | e8d7f045678a3fbd3d2e3f786b4045c7dbefba07 (patch) | |
tree | 75684f023859e1ff1ff659ea60581172d57fdafd /etc | |
parent | 0eca2e552675b1234e20e022613e806a7012247c (diff) |
do not scan afs/xfs directories; chris.kuethe
Diffstat (limited to 'etc')
-rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index f827b4d48ea..a69227ccca9 100644 --- a/etc/security +++ b/etc/security @@ -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 |