mirror of
https://github.com/imthenachoman/How-To-Secure-A-Linux-Server.git
synced 2025-12-06 09:12:47 +01:00
Update README.md
Updated the full path for ntp.conf file.
This commit is contained in:
@@ -1018,7 +1018,7 @@ NTP stands for Network Time Protocol. In the context of this guide, an NTP clien
|
||||
1. Make a backup of the NTP client's configuration file `/etc/ntp.conf`:
|
||||
|
||||
``` bash
|
||||
sudo cp --archive /etc/ntp.conf /etc/ntp.conf-COPY-$(date +"%Y%m%d%H%M%S")
|
||||
sudo cp --archive /etc/ntpsec/ntp.conf /etc/ntpsec/ntp.conf-COPY-$(date +"%Y%m%d%H%M%S")
|
||||
```
|
||||
|
||||
1. The default configuration, at least on Debian, is already pretty secure. The only thing we'll want to make sure is we're the `pool` directive and not any `server` directives. The `pool` directive allows the NTP client to stop using a server if it is unresponsive or serving bad time. Do this by commenting out all `server` directives and adding the below to `/etc/ntp.conf`.
|
||||
|
||||
Reference in New Issue
Block a user