The rlogin
service, which is available with
the rsh-server
package and runs as a service through xinetd or separately
as a systemd socket, should be disabled.
If using xinetd, set disable
to yes
in /etc/xinetd.d/rlogin
.
The rlogin
socket can be disabled with the following command:
$ sudo systemctl mask --now rlogin.socket