Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Linux » Enable or disable Linux System’s Clock Sync with NTP Server
  • screenshot 2020 03 13 at 21.22.29
    How to determine Cygwin version Windows Server
  • aks 1
    Azure Storage: How to create Blob Storage and upload files AWS/Azure/OpenShift
  • 1 kajkbmlyehn0inifwrh 8w 1
    How to configure Kerberos for Ansible Authentication Configuration Management Tool
  • Access Synology Remotely
    How to create a Tailscale VPN connection to Synology NAS Backup
  • MSIEXEC returned 1602
    Fix MSIEXEC returned 1602: Trellix Setup cannot use this account Windows Server
  • browser
    How to configure a new tab page URL in Microsoft Edge Windows
  • Remote Desktop Connection
    Connect to the Remote Desktop Console from Command Prompt Windows
  • PSD1 Azure 2
    How to install PSD Hydration Kit for remote bare-metal deployment or via PXE boot Windows Server

Enable or disable Linux System’s Clock Sync with NTP Server

Posted on 07/04/202006/11/2023 Christian By Christian No Comments on Enable or disable Linux System’s Clock Sync with NTP Server

Network Time Protocol is an internet protocol that is used to synchronize the system clock between devices. Please see How to sync S3 Bucket with an EC2 instance. Kerberos error: Clock skew too great while getting initial credentials. And how to fix “Google Chrome reports your clock is behind: How to fix clock synchronization issues in Windows“. In this article, you will learn how to Enable or disable Linux System’s Clock Sync with NTP Server.

NTP uses a hierarchical, semi-layered system of time sources. Each level of this hierarchy is termed a stratum.

It is assigned a number starting with zero for the reference clock at the top. A server synchronized to a stratum n server runs at stratum n + 1.

The Timedatectl Command

The timedatectl utility enables you to automatically sync your Linux system clock with a remote group of servers using NTP. For more information on how to change the system time zone under RedHat and CentOS, and How to sync on-premises AD with Azure AD via Azure AD Connect.

The prerequisite is to have an NTP server installed on the device. This will enable automatic time synchronization with an external NTP server.

Enable the Linux System’s Clock Sync

Therefore, to enable automatic time synchronization with a remote NTP server, type the following command at the terminal. Please see how to upgrade VMware Tools in vSphere. Please, see how to fix ‘We cannot sign you with this credential because your domain isn’t available: Make sure your device is connected to your organization’s network and try again“.

timedatectl set-ntp true

Disable the Linux System’s Clock Sync

To disable NTP time synchronization, run the following command at the terminal as shown below. Please see this Synchronize your Domain Controller with an external time source on how this is performed in Windows.

timedatectl set-ntp false

I hope you found this blog post helpful on how to enable or disable Linux System’s Clock Sync with NTP Server. If you have any questions, please let me know in the comment section.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Linux

Post navigation

Previous Post: Could not open a connection to the host, on the port, connect failed
Next Post: Warning useradd: the home directory already exists. Not copying any file from skel director into it

Related Posts

  • Run Linux on Windows Server
    How to install Windows Subsystem for Linux on Windows Server Linux
  • Locate Find and Grep Required 1
    Locate, Find and Grep: Search for files and patterns in Linux or Unix-like OS Linux
  • DNS FEATURE
    Domain Name System: All you need to know about DNS Linux
  • goland
    How to install Golang on a Linux System Linux
  • etcconf
    How to configure user resource limits and restrictions in Linux Linux
  • Screenshot 2020 05 14 at 19.28.50
    How to install and configure Rancid Linux

More Related Articles

Run Linux on Windows Server How to install Windows Subsystem for Linux on Windows Server Linux
Locate Find and Grep Required 1 Locate, Find and Grep: Search for files and patterns in Linux or Unix-like OS Linux
DNS FEATURE Domain Name System: All you need to know about DNS Linux
goland How to install Golang on a Linux System Linux
etcconf How to configure user resource limits and restrictions in Linux Linux
Screenshot 2020 05 14 at 19.28.50 How to install and configure Rancid Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • screenshot 2020 03 13 at 21.22.29
    How to determine Cygwin version Windows Server
  • aks 1
    Azure Storage: How to create Blob Storage and upload files AWS/Azure/OpenShift
  • 1 kajkbmlyehn0inifwrh 8w 1
    How to configure Kerberos for Ansible Authentication Configuration Management Tool
  • Access Synology Remotely
    How to create a Tailscale VPN connection to Synology NAS Backup
  • MSIEXEC returned 1602
    Fix MSIEXEC returned 1602: Trellix Setup cannot use this account Windows Server
  • browser
    How to configure a new tab page URL in Microsoft Edge Windows
  • Remote Desktop Connection
    Connect to the Remote Desktop Console from Command Prompt Windows
  • PSD1 Azure 2
    How to install PSD Hydration Kit for remote bare-metal deployment or via PXE boot Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.