Page MenuHomeFreeBSD

D7482.diff
No OneTemporary

D7482.diff

Index: head/etc/periodic/security/100.chksetuid
===================================================================
--- head/etc/periodic/security/100.chksetuid
+++ head/etc/periodic/security/100.chksetuid
@@ -46,7 +46,7 @@
echo ""
echo 'Checking setuid files and devices:'
MP=`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'`
- find -sx $MP /dev/null -type f \
+ find -sx $MP /dev/null \( ! -fstype local \) -prune -o -type f \
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
\( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+ |
check_diff setuid - "${host} setuid diffs:"
Index: head/etc/periodic/security/110.neggrpperm
===================================================================
--- head/etc/periodic/security/110.neggrpperm
+++ head/etc/periodic/security/110.neggrpperm
@@ -44,7 +44,7 @@
echo ""
echo 'Checking negative group permissions:'
MP=`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'`
- n=$(find -sx $MP /dev/null -type f \
+ n=$(find -sx $MP /dev/null \( ! -fstype local \) -prune -o -type f \
\( \( ! -perm +010 -and -perm +001 \) -or \
\( ! -perm +020 -and -perm +002 \) -or \
\( ! -perm +040 -and -perm +004 \) \) \

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 3:07 PM (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23581648
Default Alt Text
D7482.diff (1 KB)

Event Timeline