From a55c1adeb84a42399c82033bafbc0ce8c28a6f33 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 17 Aug 1998 16:43:48 +0000 Subject: don't include FIFOs in check for set[ug]id files and devices; andrew@nfr.net --- etc/security | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/security') 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 -- cgit v1.2.3