summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1995-01-14 13:23:50 +0000
committerats <ats@FreeBSD.org>1995-01-14 13:23:50 +0000
commitf34d2f9c017703d13d7adacd2e9065b201d99d95 (patch)
treec17c32600e50f5489aa7e02013175d09f6716c86 /etc
parentf864467045725c1b346794033bd11f45dd6feec5 (diff)
downloadFreeBSD-src-f34d2f9c017703d13d7adacd2e9065b201d99d95.zip
FreeBSD-src-f34d2f9c017703d13d7adacd2e9065b201d99d95.tar.gz
Fix a bug, that someone has introduced into /etc/security. It has no longer
found SUID files, only SGID files. The find has missed some parantheses.
Diffstat (limited to 'etc')
-rw-r--r--etc/security4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security
index 37d7d6e..02432d4 100644
--- a/etc/security
+++ b/etc/security
@@ -1,7 +1,7 @@
#!/bin/sh -
#
# @(#)security 5.3 (Berkeley) 5/28/91
-# $Id: security,v 1.5 1993/12/15 06:42:01 rich Exp $
+# $Id: security,v 1.6 1994/01/22 10:54:13 rgrimes Exp $
#
PATH=/sbin:/bin:/usr/bin
@@ -24,7 +24,7 @@ set $MP
while test $# -ge 1; do
mount=$1
shift
- find $mount -xdev -perm -u+s -or -perm -g+s | sort
+ find $mount -xdev \( -perm -u+s -or -perm -g+s \) | sort
done | xargs -n 20 ls -lgTd > $TMP
if cmp $LOG/setuid.today $TMP >/dev/null; then :; else
OpenPOWER on IntegriCloud