FreeBSD disable telnet

Bold indicates a button clicked or key pressed.
“quotes” indicates a value which has been entered.

Grey block quote is a command typed directly into the console.

  1. Edit /etc/inetd.conf and ensure that the following lines are commented out:
  2. telnet stream tcp nowait root /usr/libexec/telnetd telnetd

    telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd