mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
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.
This commit is contained in:
parent
20415301cd
commit
ccca965b89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5604
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user