mirror of https://github.com/CISOfy/lynis.git
Clean up unneeded log entries
This commit is contained in:
parent
ba3d47ba7f
commit
a40331aedc
|
@ -1929,8 +1929,6 @@
|
||||||
echo "Fatal error: file $1 should be owned by user 'root' when running it as root (found: ${OWNER})."
|
echo "Fatal error: file $1 should be owned by user 'root' when running it as root (found: ${OWNER})."
|
||||||
ExitFatal
|
ExitFatal
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
LogText "Note: Owner permissions of file $1 to be expected similar as the UID executing the process"
|
|
||||||
fi
|
fi
|
||||||
# Group permissions
|
# Group permissions
|
||||||
GROUP=`echo ${PERMS} | awk -F" " '{ print $4 }'`
|
GROUP=`echo ${PERMS} | awk -F" " '{ print $4 }'`
|
||||||
|
@ -1941,8 +1939,6 @@
|
||||||
echo "Fatal error: group owner of directory $1 should be owned by root user, wheel or similar (found: ${GROUP})."
|
echo "Fatal error: group owner of directory $1 should be owned by root user, wheel or similar (found: ${GROUP})."
|
||||||
ExitFatal
|
ExitFatal
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
LogText "Note: Group permissions of file $1 to be expected similar as the UID executing the process"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Owner permissions
|
# Owner permissions
|
||||||
|
|
Loading…
Reference in New Issue