2.2.3 Ensure rsync service is not enabled

Information

The rsyncd service can be used to synchronize files between systems over network links.

Rationale:

The rsyncd service presents a security risk as it uses unencrypted protocols for communication.

Solution

Run the following command to disable rsyncd:

# systemctl --now disable rsyncd

Additional Information:

Additional methods of disabling a service exist. Consult your distribution documentation for appropriate methods.

On some distributions the rsync service is known as rsync, not rsyncd.

See Also

https://workbench.cisecurity.org/files/3366