Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.2.1.2 ntp conf test looks for wrong config filename #17

Closed
rabcin opened this issue Jun 28, 2019 · 2 comments
Closed

2.2.1.2 ntp conf test looks for wrong config filename #17

rabcin opened this issue Jun 28, 2019 · 2 comments
Assignees

Comments

@rabcin
Copy link

rabcin commented Jun 28, 2019

It checks for /etc/ntpd.conf and should be /etc/ntp.conf

@rabcin
Copy link
Author

rabcin commented Jun 28, 2019

also some issues on the checks as then look for different configuration to that recommend in the CIS benchmark.

@finalduty finalduty self-assigned this Jul 19, 2019
@makakin
Copy link

makakin commented Sep 17, 2019

    grep "^restrict -4 **default** kod nomodify notrap nopeer noquery" /etc/ntp**d**.conf &>/dev/null || state=1
    grep "^restrict -6 **default** kod nomodify notrap nopeer noquery" /etc/ntp**d**.conf &>/dev/null || state=2
    egrep "^(server|pool) .*$" /etc/ntp**d**.conf &>/dev/null || state=4

missing the word "default" compare with the CIS guide, also for config file under /etc should be ntp.conf (without 'd')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants