mirror of https://github.com/CISOfy/lynis.git
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}"
|
||||
IsWorldWritable ${J}
|
||||
if [ "${FileIsWorldWritable}" = "TRUE" ]; then
|
||||
ReportWarning ${TEST_NO} "H" "Found writable startup script ${J}"
|
||||
logtext "Result: warning, file ${J} is world writable"
|
||||
FOUND=1
|
||||
else
|
||||
|
@ -426,7 +425,6 @@
|
|||
for I in ${FIND}; do
|
||||
IsWorldWritable ${I}
|
||||
if [ "${FileIsWorldWritable}" = "TRUE" ]; then
|
||||
ReportWarning ${TEST_NO} "H" "Found writable startup script ${I}"
|
||||
logtext "Result: warning, file ${I} is world writable"
|
||||
FOUND=1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue