11:59 +<j2ee> why netkit-telnetd hasn't a startup script ? 12:00 @<styx> j2ee: because there's no real excuse for not using ssh ;) 12:00 +<j2ee> styx: you're right .. but we should also support crazy kiddo people who like use telnetd 12:00 +<j2ee> maybe in a LAN 12:01 @<styx> well, yeah. 12:01 +<psypete> telnet = awesome
rather than giving it a script up script, include an xinetd.d file or something ? telnetd historically has been started via a inet daemon ... also, the man page says: Telnetd is normally invoked by the internet server (see inetd(8)) for requests to connect to the telnet port ... The -debug option may be used to start up telnetd manually, instead of through inetd(8). running telnetd in debug mode just to make it start on its own isnt a good solution imho ;)
sorry :) fortunately, I've never had to setup a telnet server :) btw, the following should work: # default: off service telnet { type = INTERNAL flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd bind = 192.168.1.11 log_on_failure += USERID } and at the end of the netkit-telnetd ebuild : [ -d /etc/xinetd.d/ ] && cp ${FILESDIR}/telnet /etc/xinetd.d/ && \ einfo "Config file for telnetd in /etc/xinetd.d .. USE OpenSSH !!!!" That's all then :)
Hi. The documentation installed with netkit-base includes a sample /etc/inetd.conf which shows how to setup telnet with inetd. In fact, if you just copy the sample into /etc/ and start inetd it works out of the box. As for xinetd, I'm not so sure what to do.... perhaps I'll just include Maurizio's example config in the installed documentation. Comments?
yes, I agree :=) Including that example will be enouth. thanks
Matt I was in the area, so I added it/closed this for you.