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:
authorMichael Boelen <michael.boelen@cisofy.com>2018-01-18 22:14:38 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-18 22:14:38 +0300
commit18feb2356be66a6c1a4f76b24f073cce4b20f3e2 (patch)
tree4e27db372ccafb715f76d372239c60e1cb196634 /include/tests_time
parent71d3610d744a6dab8b7b8d9fe108a0534d018f69 (diff)
[TIME-3170] Chrony NetBSD support
Diffstat (limited to 'include/tests_time')
-rw-r--r--include/tests_time4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tests_time b/include/tests_time
index af2d1735..df35f0da 100644
--- a/include/tests_time
+++ b/include/tests_time
@@ -470,7 +470,9 @@
# Group owner should have only read access
# Other should preferably have no access, or read-only at max
- FILE_ARRAY="/etc/chrony.conf /etc/inet/ntp.conf /etc/ntp.conf /usr/local/etc/ntp.conf"
+ FILE_ARRAY="${ROOTDIR}etc/chrony.conf ${ROOTDIR}usr/pkg/etc/chrony.conf \
+ ${ROOTDIR}etc/inet/ntp.conf ${ROOTDIR}etc/ntp.conf ${ROOTDIR}usr/local/etc/ntp.conf"
+
Register --test-no TIME-3170 --weight L --network NO --category security --description "Check configuration files"
if [ ${SKIPTEST} -eq 0 ]; then
for FILE in ${FILE_ARRAY}; do