Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2016-03-17 22:54:28 +0300
committermboelen <michael@cisofy.com>2016-03-17 22:54:28 +0300
commitb9dba2f3becd433382132a5e68dc7d755f15c619 (patch)
treeca7238da48606d8b9c7f7c0b3cdbc9c14a176b31
parenta427eb6fa77a10a33db9e9c6315d0ea5cddea6bd (diff)
Don't show umask exception, as it will trigger on Debian 8
-rw-r--r--include/tests_authentication8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index 06bcafa2..2c1f6f36 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -914,11 +914,9 @@
AddHP 0 2
fi
else
- LogText "Result: found no umask. Please check if this is correct"
- Display --indent 4 --text "- Checking umask (/etc/profile)" --result "NOT FOUND" --color YELLOW
- ReportException "${TEST_NO}:01"
- ReportManual "AUTH-9328:01"
- AddHP 0 2
+ # Some operating systems don't have a default umask defined in /etc/profile (Debian)
+ LogText "Result: found no umask. Please check if this is correct"
+ Display --indent 4 --text "- Checking umask (/etc/profile)" --result "NOT FOUND" --color YELLOW
fi
else
LogText "Result: file /etc/profile does not exist"