LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Enabling Telnet on Slackware (https://www.linuxquestions.org/questions/slackware-14/enabling-telnet-on-slackware-269049/)

initself 12-22-2004 12:09 AM

Enabling Telnet on Slackware
 
As many users have found out, telnet comes disable by default in a Slackware installation. If you ever find a need to turn in on, here's how:

1) Uncomment the 'telnet' line from /etc/inetd.conf.

vi /etc/inetd.conf

2) Restart the inetd server.

ps -ef |grep inetd # find inetd and take note of its PID number
kill -HUP 'PID number of inetd'

3) Test.

telnet localhost

Cedrik 12-22-2004 03:52 AM

As a note, there is a file (/var/run/inetd.pid) that contains inetd pid so to simply restart inetd, I do :

kill -HUP `cat /var/run/inetd.pid`

uselpa 12-22-2004 07:27 AM

And for the lazy: "killall -HUP inetd".

Cerbere 12-24-2004 03:46 AM

Re: Enabling Telnet on Slackware
 
Quote:

Originally posted by initself
As many users have found out, telnet comes disable by default in a Slackware installation. If you ever find a need to turn in on, here's how:
DONT!!!

There's a reason it's disabled: it's spectacularly insecure!

Use ssh instead. It comes enabled by default because it's ... better.

But, while you're nosing around in /etc/inetd.conf, be sure to comment out the ftp line. Then use sftp instead :-)

Enjoy!
--- Cerbere

initself 12-24-2004 04:39 AM

Of course!
 
.

mb

ringwraith 12-24-2004 08:11 AM

I think Cerebere's warning was very correct and appropriate.

initself 12-24-2004 12:30 PM

Quote:

Originally posted by ringwraith
I think Cerebere's warning was very correct and appropriate.
Me too.

Cerbere 12-26-2004 04:30 AM

Re: Of course!
 
Quote:

Originally posted by initself
Of course we all know this!
Considering this is a forum where people come to learn about Linux, I would say that this is an erroneous assumption.
Quote:

Originally posted by initself
So! Thanks for looking out, but this thread is about TELNET and not about the precariousness therein! The SSH Gospel has no place here! We're Democrats!
I'm well aware that this is a thread about telnet. However, I'm of the opinion that any thread about telnet which makes no mention of its inherent lack of security is incomplete, especially when it's presented as a 'how-to'.

I didn't post here to preach, nor to enter into a flame war, but rather to add some relevant information which you omitted. And no matter what your political affiliation, I find it highly inappropriate to attempt to shout down a differing opinion. Perhaps you should review the rules you agreed to when you registered for this forum, specifically:
Quote:

Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great.
Enjoy!
--- Cerbere

initself 12-26-2004 02:19 PM

I was trying to be funny, bro. Apparently this was lost on you. I have edited my response so that future misunderstandings may not happen.


All times are GMT -5. The time now is 03:22 PM.