2.2.16 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 one of the following commands to disable rsyncd :

# chkconfig rsyncd off

# systemctl disable rsyncd

# update-rc.d rsyncd disable

Notes:

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/2420