mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 00:04:16 +02:00
Removed individual warnings for BOOT-5184
This commit is contained in:
parent
22c4e29604
commit
8dc9b2080d
@ -403,7 +403,6 @@
|
|||||||
logtext "Test: checking permissions of file ${J}"
|
logtext "Test: checking permissions of file ${J}"
|
||||||
IsWorldWritable ${J}
|
IsWorldWritable ${J}
|
||||||
if [ "${FileIsWorldWritable}" = "TRUE" ]; then
|
if [ "${FileIsWorldWritable}" = "TRUE" ]; then
|
||||||
ReportWarning ${TEST_NO} "H" "Found writable startup script ${J}"
|
|
||||||
logtext "Result: warning, file ${J} is world writable"
|
logtext "Result: warning, file ${J} is world writable"
|
||||||
FOUND=1
|
FOUND=1
|
||||||
else
|
else
|
||||||
@ -426,7 +425,6 @@
|
|||||||
for I in ${FIND}; do
|
for I in ${FIND}; do
|
||||||
IsWorldWritable ${I}
|
IsWorldWritable ${I}
|
||||||
if [ "${FileIsWorldWritable}" = "TRUE" ]; then
|
if [ "${FileIsWorldWritable}" = "TRUE" ]; then
|
||||||
ReportWarning ${TEST_NO} "H" "Found writable startup script ${I}"
|
|
||||||
logtext "Result: warning, file ${I} is world writable"
|
logtext "Result: warning, file ${I} is world writable"
|
||||||
FOUND=1
|
FOUND=1
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user