An XCCDF Group - A logical subset of the XCCDF Benchmark
rsh-server
$ sudo dnf erase rsh-server
rsh
rlogin
disable
yes
/etc/xinetd.d/rlogin
$ sudo systemctl mask --now rlogin.socket
shosts.equiv
$ sudo rm /[path]/[to]/[file]/shosts.equiv
/etc/hosts.equiv
~/.rhosts
$ sudo rm /etc/hosts.equiv
$ rm ~/.rhosts
~/.shosts
$ sudo find / -name '.shosts' -type f -delete