Also check setuid executables on ZFS.

This commit is contained in:
Ruslan Ermilov 2007-11-23 13:00:31 +00:00
parent 115cadfd60
commit 5f3a6945d4

View file

@ -44,7 +44,7 @@ case "$daily_status_security_chksetuid_enable" in
echo ""
echo 'Checking setuid files and devices:'
# XXX Note that there is the possibility of overrunning the args to ls
MP=`mount -t ufs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | sort`
MP=`mount -t ufs,zfs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | sort`
if [ -n "${MP}" ]
then
set ${MP}