An XCCDF Group - A logical subset of the XCCDF Benchmark
iptables
xinetd
$ sudo yum erase xinetd
$ sudo systemctl mask --now xinetd.service
rsh-server
$ sudo yum 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
talk-server
$ sudo yum erase talk-server
talk
$ sudo yum erase talk
telnet-server
$ sudo yum erase telnet-server
telnet
$ sudo systemctl mask --now telnet.socket
tftp-server
$ sudo yum erase tftp-server
tftp
$ sudo systemctl show tftp | grep FragmentPath= FragmentPath=/etc/systemd/system/tftp.service
ExecStart
-s
ExecStart=/usr/sbin/in.tftpd -s