How to turn off telnetd on FreeBSD

Sunday, 25th December 2011

There is a brand new remote FreeBSD vulnerability in telnetd in all its versions starting from version 7 to 9. It is therefore advisable that the telnet daemon be completely disabled.

To disable telnetd on FreeBSD:

1. Open /etc/inetd.conf

freebsd# vi /etc/inetd.conf

2. Comment out the line

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

e.g.:

#telnet stream tcp nowait root /usr/libexec/telnetd telnetd

3. Restart inetd

freebsd# /etc/rc.d/inetd restart

The whole remote root telnetd FreeBSD security advisory (SA), can be read here

Share this on:

Download PDFDownload PDF

Tags: , , , , , , , , , , , , , , , , , , , , ,

One Response to “How to turn off telnetd on FreeBSD”

  1. Desirae Dennis says:
    Firefox 3.8 Firefox 3.8 Ubuntu 9.25 Ubuntu 9.25
    Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.0.2) Gecko/2008092313 Ubuntu/9.25 (jaunty) Firefox/3.8

    Its not my first time to go to see this site, i am browsing this
    website dailly and get good data from here everyday.

    View CommentView Comment

Leave a Reply

CommentLuv badge