summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2000-07-11 14:24:53 +0000
committerdwmalone <dwmalone@FreeBSD.org>2000-07-11 14:24:53 +0000
commitec7724d85bc713696cc1dc02ea5d9dfcd6880c2a (patch)
tree648dbc9518e338a449c276c108e17cafb8f6aec9 /etc
parent4f4365618d57d258e7a0c629b80001e818a418dc (diff)
downloadFreeBSD-src-ec7724d85bc713696cc1dc02ea5d9dfcd6880c2a.zip
FreeBSD-src-ec7724d85bc713696cc1dc02ea5d9dfcd6880c2a.tar.gz
Get the security script to list the indoe numbers of the suid files.
I've seen some script kiddie tools out there that fake the timestamps but don't preserve the inode number. Note - this will cause a lot of output the first time it is run! PR: 18947 Reviewed by: Sheldon Hearn <sheldonh@uunet.co.za>
Diffstat (limited to 'etc')
-rw-r--r--etc/security2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/security b/etc/security
index 7305fed..574b0d8 100644
--- a/etc/security
+++ b/etc/security
@@ -45,7 +45,7 @@ while [ $# -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 -lTd | sort +9 > ${TMP}
+done | xargs -0 -n 20 ls -liTd | sort +10 > ${TMP}
if [ ! -f ${LOG}/setuid.today ]; then
separator
OpenPOWER on IntegriCloud