Telnetd configuration

Miroslaw Dach miroslaw.dach at psi.ch
Mon Jun 18 16:46:28 UTC 2007


Hi Mike,

My /etc/inetd.conf looks like that:

23      stream  tcp     nowait  root    /usr/sbin/telnetd telnetd -l /bin/login

I have the filling that some other configuration is missing:
/etc/hosts.allow  ?
/etc/hosts.deny   ?
/etc/passwd       ?
/etc/group        ?
?

Best Regards

Mirek



On Mon, 18 Jun 2007, Michael Cashwell wrote:

> On Mon, 2007-06-18 at 15:51 +0200, Miroslaw Dach wrote:
> 
> > Hi Mike,
> > 
> > 	Thank you very much for your suggestions.
> > I came back to the telnetd issue once again and right now when I try to 
> > connect to my ppc405 embedded system I get:
> > 
> > Trying 129.128.107.50...
> > Connected to ml403-mirek.pss.uk (129.128.107.50).
> > Escape character is '^]'.
> > Connection closed by foreign host.
> 
> Can you show your /etc/inetd.conf file? (My sample below should be on
> one line. In the email it's wrapped / split but that's not correct.)
> 
> Also, a "ps w" might be interesting to verify what's running.
> 
> -Mike
> 
> -------------------------
> 
> > >> 	Could somebody advice me how to start/configure TELNETTed daemon on 
> > >my
> > >> power-pc embedded linux which uses busybox 1.4.2 .
> > >
> > >I do it via inetd on my ARM systems. Here are the relevant parts (eg:
> > >I'm only showing parts of these files for brevity):
> > >
> > >------- /etc/inittab -------
> > >::sysinit:/bin/ash /etc/rc
> > >
> > >------- /etc/rc -------
> > ># start the inetd daemon (for telnet logins)
> > >/sbin/inetd
> > >
> > >------- /etc/inetd.conf -------
> > >23	stream	tcp	nowait	root	/sbin/telnetd telnetd -l 
> > >/bin/login
> > >
> > >Assuming you have a working network interface (up, configured, etc.) and
> > >working binaries (init, ash, inetd, login, telnetd) this should work.
> > >
> > >You will need some kind of authentication database for login to be
> > >happy.
> > >
> > >HTH.
> > >
> > >-Mike
> > 
> 
> 

-- 
=============================================================================
          Miroslaw Dach (Miroslaw.Dach at psi.ch) - SLS/Controls Group 
                PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================




More information about the busybox mailing list