Security - No telnetd

Description

Ensures that telnetd is not installed

Tags

  • CCE-27073-6
  • CCE-26836-7
  • AC-17(8)
  • CM-7

Solution

apt-get purge telnetd

Check Script: security-no-telnetd.sh

if dpkg -l telnetd 2>/dev/null | grep -q '^ii'; then
	result_failed "telnetd must not be installed!"
else
	result_ok
fi