Skip to content

Ensure mounting of cramfs filesystems is disabled

Audit#

IF ntp is in use on the system, run the following commands:

Run the following command to verify that the ntp service is enabled:

# systemctl is-enabled ntp.service
enabled

Run the following command to verify that the ntp service is active:

# systemctl is-active ntp.service
active

Remediation#

IF ntp is in use on the system, run the following commands:

Run the following command to unmask ntp.service:

# systemctl unmask ntp.service

Run the following command to enable and start ntp.service:

# systemctl --now enable ntp.service

OR

If another time synchronization service is in use on the system, run the following command to remove ntp:

# apt purge ntp