Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6507 - netkit-telnetd hasn't a startup script
Summary: netkit-telnetd hasn't a startup script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 04:58 UTC by Maurizio Disimino
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Disimino 2002-08-15 04:58:46 UTC
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
Comment 1 SpanKY gentoo-dev 2002-08-15 08:37:36 UTC
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 ;)
Comment 2 Maurizio Disimino 2002-08-15 10:59:31 UTC
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 :)
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2002-08-18 18:10:13 UTC
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?
Comment 4 Maurizio Disimino 2002-08-19 01:18:56 UTC
yes, I agree :=) Including that example will be enouth.
thanks
Comment 5 Donny Davies (RETIRED) gentoo-dev 2002-10-25 09:20:46 UTC
Matt

I was in the area, so I added it/closed this for you.