mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
Remove the -g option from the "find ... | xargs -ls ..." line.
The -g option to ls has been depreciated.
This commit is contained in:
parent
cff32b65f6
commit
09cbe4801b
@ -1,7 +1,7 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# @(#)security 5.3 (Berkeley) 5/28/91
|
||||
# $Id: security,v 1.18 1997/02/23 09:20:52 peter Exp $
|
||||
# $Id: security,v 1.19 1997/02/23 21:34:34 mpp Exp $
|
||||
#
|
||||
PATH=/sbin:/bin:/usr/bin
|
||||
LC_ALL=C; export LC_ALL
|
||||
@ -33,7 +33,7 @@ while test $# -ge 1; do
|
||||
find $mount -xdev -type f \
|
||||
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
|
||||
\( -perm -u+s -or -perm -g+s \) -print0
|
||||
done | xargs -0 -n 20 ls -lgTd | sort +9 > $TMP
|
||||
done | xargs -0 -n 20 ls -lTd | sort +9 > $TMP
|
||||
|
||||
if [ ! -f $LOG/setuid.today ] ; then
|
||||
separator
|
||||
|
Loading…
Reference in New Issue
Block a user