Information
The ntp package is installed with a dedicated user account ntp This account is granted the access required by the ntpd daemon
Note:
- If chrony or systemd-timesyncd are used, ntp should be removed and this section skipped
- This recommendation only applies if ntp is in use on the system
- Only one time synchronization method should be in use on the system
The ntpd daemon should run with only the required privlidge
Solution
Add or edit the following line in /usr/lib/ntp/ntp-systemd-wrapper :
RUNASUSER=ntp
Run the following command to restart ntp.servocee :
# systemctl restart ntp.service
OR
If another time synchronization service is in use on the system, run the following command to remove ntp from the system:
# apt purge ntp