mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-23 22:04:39 +02:00
parent
d23085f29f
commit
b1bf319f18
@ -477,6 +477,14 @@
|
|||||||
LogText "Test: checking deleted files that are still in use"
|
LogText "Test: checking deleted files that are still in use"
|
||||||
|
|
||||||
LSOF_GREP="WARNING|Output information"
|
LSOF_GREP="WARNING|Output information"
|
||||||
|
|
||||||
|
EARLY_MYSQL=`dpkg -l | egrep mysql-server-5.[0-5]`
|
||||||
|
|
||||||
|
if [ ! "${EARLY_MYSQL}" = "" ]; then
|
||||||
|
# MySQL versions prior to 5.6 leave lots of deleted in-use files in /tmp
|
||||||
|
LSOF_GREP="${LSOF_GREP}|mysqld"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ${GRSEC_FOUND} -eq 1 ]; then
|
if [ ${GRSEC_FOUND} -eq 1 ]; then
|
||||||
# grsecurity causes Fail2Ban to hold onto deleted in-use files in /var/tmp
|
# grsecurity causes Fail2Ban to hold onto deleted in-use files in /var/tmp
|
||||||
LSOF_GREP="${LSOF_GREP}|fail2ban"
|
LSOF_GREP="${LSOF_GREP}|fail2ban"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user