diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-17 16:43:48 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-17 16:43:48 +0000 |
commit | a55c1adeb84a42399c82033bafbc0ce8c28a6f33 (patch) | |
tree | 394adbff701b3f11826d3371acdb3b3615b4b607 /etc/security | |
parent | 47107e2e54d2149435032907ce270505ca80f7f9 (diff) |
don't include FIFOs in check for set[ug]id files and devices; andrew@nfr.net
Diffstat (limited to 'etc/security')
-rw-r--r-- | etc/security | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security index adea3cd8d07..1ed14ddee3e 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.29 1998/07/11 05:01:11 marc Exp $ +# $OpenBSD: security,v 1.30 1998/08/17 16:43:47 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -459,8 +459,8 @@ pending="\nChecking setuid/setgid files and devices:\n" (find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \ -o -fstype procfs \) -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 -print0 | \ -xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT + ! -type d -a ! -type f -a ! -type l -a ! -type s -a ! -type p \ + -print0 | xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT # Display any errors that occurred during system file walk. if [ -s $OUTPUT ] ; then |