Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

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

Posted on 07/04/202015/09/2026 Christian By Christian No Comments on Enable or disable Linux System’s Clock Sync with NTP Server
  1. Home
  2. Linux
  3. Enable or disable Linux System’s Clock Sync with NTP Server
Diagram illustrating an NTP server setup, showing connections between internal servers (App Servers and DB Servers) and an external 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
Terminal window showing a command prompt with the command 'timedatectl set-ntp true' for enabling NTP on a Linux system.

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
Command line interface showing a user in root mode disabling NTP synchronization with the command '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.

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

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
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

  • images copy
    How to disable automatic screen lock in Ubuntu Linux Linux
  • Convert PEM to PPK 1
    Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
  • 1 pUEZd8z 1p 7ICIO1NZFA
    The package python-virtualenv has no installation candidate error Linux
  • How to use Netstat.exe to confirm which Program uses or blocks a port
    How to use Netstat.exe to confirm which Program uses or blocks a port Linux
  • Generate SSH Keys
    Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
  • screenshot 2020 04 23 at 00.30.09
    How to mount a USB Drive in Linux Linux

More Related Articles

images copy How to disable automatic screen lock in Ubuntu Linux Linux
Convert PEM to PPK 1 Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
1 pUEZd8z 1p 7ICIO1NZFA The package python-virtualenv has no installation candidate error Linux
How to use Netstat.exe to confirm which Program uses or blocks a port How to use Netstat.exe to confirm which Program uses or blocks a port Linux
Generate SSH Keys Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
screenshot 2020 04 23 at 00.30.09 How to mount a USB Drive in Linux Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • Google drive Mount issue fixed 1 e1785328171798
    Google Drive Broken on Windows: Fix and Prevent it from happening again Windows
  • WonderFox Video Watermark
    Install and use WonderFox Video Watermark Windows
  • Gfeature
    How to install Googler on a Linux System Linux
  • BitLocker34
    BitLocker Back Door: Stolen laptop to inside the company network Security | Vulnerability Scans and Assessment
  • ESXi
    How to install ESXi on VirtualBox Virtualization
  • ycx
    Detect registry keys using Process Monitor using Sysinternals Tools Windows Server
  • IIS8
    How to add an account to the local IIS_IUSRS group Windows Server
  • Featured image widgets
    How to use the Widgets feature on Windows 11 Windows

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.