[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Authentication for telnet.



On Mon, Sep 30, 2019 at 09:36:51PM -0700, peter@easthope.ca wrote:
> From: Reco <recoverym4n@enotuniq.net>
> Date: Sat, 28 Sep 2019 19:23:45 +0300
> > telnetd(8), "-a" and "-L" parameters.
> 
> OK.
> peter@joule:~$ grep telnet /etc/inetd.conf
> telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -a user
> # Restart inetd.

I fail to see how that's "OK". Where's "-L" (OK, it's "-E")? Why the
in.telnetd, not the conventional telnetd?

Try it:

1) apt install inetutils-inetd openbsd-inetd

2) echo 'telnet  stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/telnetd -a none -E /bin/bash' > /etc/inetd.conf

3) service openbsd-inetd restart

4) telnet localhost


> Then the result from telnet to localhost is in this little screenshot.
> http://easthope.ca/TelnetScreenshot.jpg 

Please copy text to the mail next time.

Reco


Reply to: