mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 00:04:16 +02:00
[TIME-3170] Chrony NetBSD support
This commit is contained in:
parent
71d3610d74
commit
18feb2356b
@ -470,7 +470,9 @@
|
|||||||
# Group owner should have only read access
|
# Group owner should have only read access
|
||||||
# Other should preferably have no access, or read-only at max
|
# 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"
|
Register --test-no TIME-3170 --weight L --network NO --category security --description "Check configuration files"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
for FILE in ${FILE_ARRAY}; do
|
for FILE in ${FILE_ARRAY}; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user