LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-09-2001, 10:43 PM   #1
eclipseplan
LQ Newbie
 
Registered: Dec 2001
Location: new york
Distribution: redhat
Posts: 3

Rep: Reputation: 0
How to start telnet service in Redhat7.1


hello!
someone told me to modify the xinetd.conf in /etc or /etc xinetd.
But I cann't find the file at /etc.
I cann't find inetd.conf also at /etc.
Can some help me?



Thanks !!
 
Old 12-10-2001, 12:11 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
umm.. you should have a xinet.d file in your /etc directory.. its there, just have to look a bit closer..
and inet.d won't exitst in 7.1 cause it was renamed as xinetd.d.. or without the .d.. can't look at machine cause i no longer use redhat any longer after my install of slackware..

from command and in the /etc directory:

# ls- al or try vi /etc/xinetd.d
 
Old 12-10-2001, 05:51 AM   #3
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
I use RH 7.0 this is my setup for telnet access

in /etc/xinetd.d/telnet I have

service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

The daemon xinetd must be running

If you use the firewall this may be set to block telnet. Since I use a local network I have disabled the firewall.
Hope this is of help.
 
Old 12-10-2001, 06:14 AM   #4
h1kz0r
LQ Newbie
 
Registered: Dec 2001
Location: Abu Dhabi, UAE
Distribution: Linux
Posts: 13

Rep: Reputation: 0
Thumbs up

There is a directory (folder) in /etc called xinetd.d with all services in it, telnet, ftp, smtp, etc... edit the file: telnet

-------------------------------BOF-----------------------------
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}
-------------------------------EOF-----------------------------

disable should be "no" and if you don't have "disable" write it yourself.

To start the service just restart xinetd, something like:
service xinetd restart
or
Kill -HUP "PID" where pid is the xinetd process id (ps x)

Last edited by h1kz0r; 12-10-2001 at 06:46 AM.
 
Old 12-10-2001, 08:12 PM   #5
eclipseplan
LQ Newbie
 
Registered: Dec 2001
Location: new york
Distribution: redhat
Posts: 3

Original Poster
Rep: Reputation: 0
when I use"ps x",I cann't find a process named xinetd

when I use"ps x",I cann't find a process named xinetd.And I find nothing in /etd/xinetd.d. Is it because that my redhat 7.1 is not
fully installed?
 
Old 12-10-2001, 08:37 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
i think your confused.. its not running as a process, your using the wrong command.. do a ls -al in the /etc directory.. there you will find a xinetd.d directory...

type this at the command line:
Code:
# cd /etc/xinetd.d
and now you should be in the xinetd.d directory where you should see a file called telnet... after issuing this command:
Code:
ls -al
and if your right about not seeing any files in the xinetd.d, then you might not have everything installed.. did you install telnet during the install??
 
Old 12-10-2001, 10:26 PM   #7
eclipseplan
LQ Newbie
 
Registered: Dec 2001
Location: new york
Distribution: redhat
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks!!It worked.

Thank you! my telnet serivce worked.
 
Old 04-23-2002, 11:07 PM   #8
feaz
LQ Newbie
 
Registered: Apr 2002
Location: Jacksonville, FL
Posts: 11

Rep: Reputation: 0
Starting Telnet in Redhat 7.1

I am trying to set up RehHad 7.1 and am having some problems-- I am highly experienced with MS Windows / DOS, but the Linux environment... Well, it's not very self-explanatory the way DOS was, and hard to "find" the answers.... So, I am trying to set up TelNet services so that I can remotely access the Linux session from elsewhere.

I have follwed the instructions in previous posts, and created the telnet file in /etc/xinetd.d/ directory.

The instructions made mention of "the deamon", and a reference to the xinetd service. I tried the suggested command:

service xinetd restart

to restart the service, but was told that there is no such service. Perhpas telnet was not installed with Linux? I need specific directions as to where to find these files, or to install the service. Time is of the essense, as at present I have no way to demonstrate UNIX to my students! Thanks a MEG for any help you can provide!!! -- Jim
 
Old 04-24-2002, 11:57 AM   #9
maaand
LQ Newbie
 
Registered: Sep 2001
Distribution: Redhat
Posts: 5

Rep: Reputation: 0
I had similar problems with telnet/ftp when I first installed RH 7.2
here is what I did to get it working.

first do
$ rpm -qa|grep telnet

this will tell you if you have telnet server installed

if not then, insert the RH CD-1
$mount /mnt/cdrom
$cd /mnt/cdrom/RedHat/......./RPMS/
$ rpm -iv telnet-server......

now
$ vi /etc/xinetd.d/telnet
change disable = yes to disable = no

$ service /etc/xinetd stop
$ service /etc/xinetd start

$ chkconfig --list
this should tell you xinetd services telnet : on

try this
 
Old 03-30-2004, 06:25 PM   #10
byblyk
LQ Newbie
 
Registered: Mar 2004
Posts: 27

Rep: Reputation: 15
Hey,

I've got a real good question for ya! I'm running RH 7.1 and i've installed the xinetd RPM. I've configured my telnet file and turned it on, i've also aded the pts/0 to my securetty so i can telnet as root. When i try to conect to the telnet service be it through localhost, or other ocmputer on my network it won't work, it says connection refused .... or conneciton failed...lol what ever it wants really, its weird cause i've done this before and its worked but now it dosen't. Any help or sudgestions? Oh and i cna't restart or sotp my xinetd service...would that be causing it?

Thanks
 
  


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
how to start the telnet service prasanth_p_bhat Linux - Software 3 03-12-2010 02:44 AM
Telnet Service Not Available big_mustard Linux - Security 10 07-21-2004 02:26 AM
telnet service zaman Linux - Security 3 10-21-2003 04:24 PM
start telnet service ust Linux - General 10 08-28-2003 03:33 AM
Telnet Service zjustin Linux - General 0 01-19-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:50 AM.

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