modify the ntp.conf
This commit is contained in:
parent
243cca9874
commit
d4062f58db
14
ntp.conf
14
ntp.conf
@ -17,17 +17,17 @@ restrict 127.0.0.1
|
|||||||
restrict ::1
|
restrict ::1
|
||||||
|
|
||||||
# Hosts on local network are less restricted.
|
# Hosts on local network are less restricted.
|
||||||
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
|
# restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
|
||||||
|
|
||||||
# Use public servers from the pool.ntp.org project.
|
# Use public servers from the pool.ntp.org project.
|
||||||
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
|
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
|
||||||
pool 2.VENDORZONE.pool.ntp.org iburst
|
# pool 2.VENDORZONE.pool.ntp.org iburst
|
||||||
|
|
||||||
# Reduce the maximum number of servers used from the pool.
|
# Reduce the maximum number of servers used from the pool.
|
||||||
tos maxclock 5
|
tos maxclock 5
|
||||||
|
|
||||||
# Enable public key cryptography.
|
# Enable public key cryptography.
|
||||||
#crypto
|
# crypto
|
||||||
|
|
||||||
includefile ETCNTP/crypto/pw
|
includefile ETCNTP/crypto/pw
|
||||||
|
|
||||||
@ -36,13 +36,13 @@ includefile ETCNTP/crypto/pw
|
|||||||
keys ETCNTP/keys
|
keys ETCNTP/keys
|
||||||
|
|
||||||
# Specify the key identifiers which are trusted.
|
# Specify the key identifiers which are trusted.
|
||||||
#trustedkey 4 8 42
|
# trustedkey 4 8 42
|
||||||
|
|
||||||
# Specify the key identifier to use with the ntpdc utility.
|
# Specify the key identifier to use with the ntpdc utility.
|
||||||
#requestkey 8
|
# requestkey 8
|
||||||
|
|
||||||
# Specify the key identifier to use with the ntpq utility.
|
# Specify the key identifier to use with the ntpq utility.
|
||||||
#controlkey 8
|
# controlkey 8
|
||||||
|
|
||||||
# Enable writing of statistics records.
|
# Enable writing of statistics records.
|
||||||
#statistics clockstats cryptostats loopstats peerstats
|
# statistics clockstats cryptostats loopstats peerstats
|
||||||
|
|||||||
8
ntp.spec
8
ntp.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: ntp
|
Name: ntp
|
||||||
Version: 4.2.8p13
|
Version: 4.2.8p13
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A protocol designed to synchronize the clocks of computers over a network
|
Summary: A protocol designed to synchronize the clocks of computers over a network
|
||||||
License: MIT and BSD and BSD with advertising
|
License: MIT and BSD and BSD with advertising
|
||||||
URL: https://www.ntp.org/
|
URL: https://www.ntp.org/
|
||||||
@ -206,6 +206,12 @@ popd
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.2.8p13-4
|
||||||
|
- Type:enhancement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify the ntp.conf
|
||||||
|
|
||||||
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.2.8p13-3
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.2.8p13-3
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user