snippetbashTip
sntpd — An SNTP server. It should not be invoked manually. More information: <https://keith.github.io/xcode-
Viewed 0 times
servercommandclisntpdnotinvokedshouldsntp
macos
Problem
How to use the
sntpd command: An SNTP server. It should not be invoked manually. More information: <https://keith.github.io/xcode-man-pages/sntpd.8.html>.Solution
sntpd — An SNTP server. It should not be invoked manually. More information: <https://keith.github.io/xcode-man-pages/sntpd.8.html>.Start the daemon:
sntpdOverwrite existing state with the local clock (stratum 1), for running a master/primary server, without synchronizing with another (higher stratum) server:
sntpd -LUse a custom file for the SNTP state:
sntpd -z {{path/to/state.bin}}Code Snippets
Start the daemon
sntpdOverwrite existing state with the local clock (stratum 1), for running a master/primary server, without synchronizing with another (higher stratum) server
sntpd -LUse a custom file for the SNTP state
sntpd -z {{path/to/state.bin}}Context
tldr-pages: osx/sntpd
Revisions (0)
No revisions yet.