Linux: Network Time Protocol (NTP) - Paiet/Tech-Journal-for-Everything GitHub Wiki
- Network Time Protocol (NTP)
- Extremely important to maintain proper time
- Used by:
- Logs
- Kerberos/IPSec
- End Users
- Clocks should always be synchronized to a common source
Viewing Time Configuration
timedatectl
Assigning a Time Zone
timedatectl list-timezones or tzselect timedatectl set-timezone <tz_name>
Setting the Time
timedatectl set-time 15:00:00
Synchronizing with an NTP Server
timedatectl set-ntp true Modify /etc/chrony.conf as needed systemctl restart chronyd chronyc sources (add -v for explanations)