LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2004, 12:09 AM   #1
initself
Member
 
Registered: Feb 2003
Location: Lake Forest, CA
Distribution: Slackware 10.2, Ubuntu 6.06 LTS
Posts: 39

Rep: Reputation: 16
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
 
Old 12-22-2004, 03:52 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
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`
 
Old 12-22-2004, 07:27 AM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
And for the lazy: "killall -HUP inetd".
 
Old 12-24-2004, 03:46 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 12-24-2004, 04:39 AM   #5
initself
Member
 
Registered: Feb 2003
Location: Lake Forest, CA
Distribution: Slackware 10.2, Ubuntu 6.06 LTS
Posts: 39

Original Poster
Rep: Reputation: 16
Of course!

.

mb

Last edited by initself; 12-26-2004 at 02:21 PM.
 
Old 12-24-2004, 08:11 AM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I think Cerebere's warning was very correct and appropriate.
 
Old 12-24-2004, 12:30 PM   #7
initself
Member
 
Registered: Feb 2003
Location: Lake Forest, CA
Distribution: Slackware 10.2, Ubuntu 6.06 LTS
Posts: 39

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by ringwraith
I think Cerebere's warning was very correct and appropriate.
Me too.

Last edited by initself; 12-26-2004 at 02:21 PM.
 
Old 12-26-2004, 04:30 AM   #8
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 12-26-2004, 02:19 PM   #9
initself
Member
 
Registered: Feb 2003
Location: Lake Forest, CA
Distribution: Slackware 10.2, Ubuntu 6.06 LTS
Posts: 39

Original Poster
Rep: Reputation: 16
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling Telnet in Runlevel 1 adtomar Linux - Networking 4 11-26-2004 12:46 PM
Enabling Telnet on VL4 CatSC VectorLinux 2 01-08-2004 08:22 PM
Enabling telnet on other ports guinnyn Linux - Networking 0 08-22-2003 07:49 PM
enabling telnet and ftp nelly_boy Linux - Software 2 06-07-2003 11:13 AM
Enabling Telnet Access on Mandrake 9.0 jumper4000 Linux - Newbie 2 10-25-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration