Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131719379
D7482.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7482.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7482: Fix periodic scripts when an NFS mount covers a local mount
Attached
Detach File
Event Timeline
Log In to Comment