Computing.Net > Forums > Linux > How to set telnet on Linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to set telnet on Linux

Reply to Message Icon

Name: chatchawan
Date: August 28, 2002 at 20:21:26 Pacific
Comment:

Hi,everybody.

I want to turn telnet on my Linux redhat 7.2 . I go to
etc/xinetd.d but it does not has file xinetd.conf.
I find that xinetd.conf is in directory etc. I obtain
a suggestion to turn telnet on by editing file xinetd.conf.
But my xinetd.conf file contain the following:


#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d


So, Where is the telnet service and how can I turn on telnet??

Any suggestions would be greatly appreciated.

Chatchawan



Sponsored Link
Ads by Google

Response Number 1
Name: chandu
Date: August 28, 2002 at 23:16:27 Pacific
Reply:

You can create new file in /etc/xinetd.d/ telnet and type in the file following:
# default: on
# description: the telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

Then restart your xinetd following command:
/etc/rc.d/init.d/xinetd restart

I think this can help you.


0

Response Number 2
Name: 3Dave
Date: August 29, 2002 at 08:34:55 Pacific
Reply:

Any particular reason that it has to be telnet? I would strongly suggest SSH instead.


0

Response Number 3
Name: Bob Lewis
Date: September 1, 2002 at 01:00:46 Pacific
Reply:


It's possible you just need to change one line :
you probably already have an /etc/xinetd.d/telnet file - you just need to chnage "disable" to :

disable = yes

and restart xinetd (/etc/rc.d/init.d/xinetd restart)

If you choose any kind of firewall settings - redhat disables telnet and ftp by default. It's also possible that you only selected "workstation" at install, in which case you would not have either package and would have to locate them on the install CDs (telnet server and ftp server).

Thanks,

Bob


0

Response Number 4
Name: Sunil E Vyawahare
Date: September 1, 2002 at 02:48:54 Pacific
Reply:

my subject is that how to start my project on telnet in linux
please advise me.
it is easy in linux or not.
and please told me that about telnet in detail.
tanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How to set telnet on Linux

how to install msn on linux www.computing.net/answers/linux/how-to-install-msn-on-linux/11989.html

How to set up a site on my RH? www.computing.net/answers/linux/how-to-set-up-a-site-on-my-rh/23939.html

How to set up a Linux network www.computing.net/answers/linux/how-to-set-up-a-linux-network/16545.html