AndrzejL

ntp config warsaw gmt +1 time

Aug 24th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. [root@icsserver andrzejl]# locate ntp.conf
  2. /etc/ntp.conf
  3. [root@icsserver andrzejl]# ls --full /etc/ntp.conf
  4. -rw-r--r-- 1 root root 1559 2012-08-25 00:42:18.018423294 +0200 /etc/ntp.conf
  5. [root@icsserver andrzejl]# cat /etc/ntp.conf
  6. #
  7. # Undisciplined Local Clock. This is a fake driver intended for backup
  8. # and when no outside source of synchronized time is available. The
  9. # default stratum is usually 3, but in this case we elect to use stratum
  10. # 0. Since the server line does not have the prefer keyword, this driver
  11. # is never used for synchronization, unless no other other
  12. # synchronization source is available. In case the local host is
  13. # controlled by some external source, such as an external oscillator or
  14. # another protocol, the prefer keyword would cause the local host to
  15. # disregard all other synchronization sources, unless the kernel
  16. # modifications are in use and declare an unsynchronized condition.
  17. #
  18. server 127.127.1.0 # local clock
  19. fudge 127.127.1.0 stratum 10
  20.  
  21. server 0.europe.pool.ntp.org
  22. server 1.europe.pool.ntp.org
  23. server 2.europe.pool.ntp.org
  24.  
  25. #
  26. # Drift file. Put this in a directory which the daemon can write to.
  27. # No symbolic links allowed, either, since the daemon updates the file
  28. # by creating a temporary in the same directory and then rename()'ing
  29. # it to the file.
  30. #
  31. driftfile /var/lib/ntp/drift
  32. multicastclient # listen on default 224.0.1.1
  33. broadcastdelay 0.008
  34.  
  35. #
  36. # Keys file. If you want to diddle your server at run time, make a
  37. # keys file (mode 600 for sure) and define the key number to be
  38. # used for making requests.
  39. # PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
  40. # systems might be able to reset your clock at will.
  41. #
  42. #keys /etc/ntp/keys
  43. #trustedkey 65535
  44. #requestkey 65535
  45. #controlkey 65535
  46.  
  47. #restrict default ignore
  48. [root@icsserver andrzejl]# chkconfig | grep ntp
  49. ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off
  50. [root@icsserver andrzejl]#
Advertisement
Add Comment
Please, Sign In to add comment