Disable telnet

Jeff
how can i disable telnet access on a mini2440?
I have looked in the the startup script and I was unable to find where it
starts telnet. I looked with ps i didnt see a telnetd but i was able to
telnet in any ideas?

Jeff

davef
In /etc/rc.d (from memory) the start-up script calls something like
telnetd.  With a message that is echoed "Starting networking"

Are you using 2.6.32.2 from FriendlyArm?

Jeff
yes i am using 2.6.32.2

Ahh i found it now. Turns out inetd launches telnetd when ever a connection
comes in on port 23 thats why i couldn't see it in ps. I ran ps when i had
a telnet connection open and it showed up. 
After looking in the inetd.conf I see lines for ftp and telnet (both of
which i will want to disable) 

Would it be better to? 

1) disable inetd entirely 
or 
2) comment out the lines in inetd.conf for ftp and telnet.

davef
Sorry, don't know.

Dave

eduardo
I think the question is: What do you plan to do?

It's easier to give an opinion.

jeff
I opted to comment out the lines for fpt and telnet and i was able to copy
the syntax for the telnet line and point it at my dropbear executable with
the options of /usr/sbin/dropbear -i -s g in the last column of the file
and now my SSH server works flawless