How to setup basic telnet?


 
Thread Tools Search this Thread
Operating Systems Linux SuSE How to setup basic telnet?
# 15  
Old 03-28-2004
Hey,

OK i installed teh telnet RPM, it's in my xinetd.conf file now, i've enabled it in my services file, i've allowed root login but! haha i still can't connect, even from the machine itself it says connection refused. Did i miss a step? Thanks for all your help!
# 16  
Old 03-28-2004
nooo you leave your /etc/services file alone. you remove the # that is infront of the telnet entry in xinetd.conf
# 17  
Old 03-29-2004
Try 'service xinetd restart' and then try to telnet in again. If you are trying to telnet as root you must also add lines like this to /etc/securetty

pts/0
pts/1
pts/2


Keep numbering as high as you want. I typically go to pts/10. On some busy systems I have gone as high as 30. Everyone logs in as root to some of our test systems.
# 18  
Old 03-29-2004
Thanks but i don't have an xinetd.conf file...when i run the command service xinetd restart it says that it is an unreconized service. Also i don't have inetd.conf, i don't know why i don't have this file. Is it possible for me to download it from any where, like an RPM or somthing?
# 19  
Old 03-29-2004
I downloaded and installed teh xinet RPM package just for the hell of it and i now have the xinetd.conf file but it says nothing of telnet..here is what is in it

# Some defaults, and include /etc/xinetd.d/

defaults
[
instances =60
log_type = SYSLOG authpriv
log_on_success = HST PID
lod_on_faileur = HOST
cps = 25 30
]

includedir /etc/xinetd.d
# 20  
Old 03-29-2004
Quote:
OK i installed teh telnet RPM, it's in my xinetd.conf file now,
I thought you already installed it, my misunderstanding. Re-read the posts I put up earlier now that you have xinetd. All services run under xinetd (including telnet) have a config file in /etc/xinetd.d which you should now have.
# 21  
Old 03-30-2004
Ok good news, i started the service and it works now, but when i try to connect it says connection failed. Before it said connection refused. I have added the pts/0 to my securetty file and my telnet file in xinetd.d says

#default: on
#description : Telnet Server
#securlevel: 30

service telnet
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.telnetd
server_args = -h
}




I'm fairly certain that thats right...lol but with my weeks and week sexperience i could very well be wrong. I am trying to connect as root just incase tha tdoes make a difference. I"m sorry but at least i'ts getting somewhere now....lol. I'm really new to this it takes me a while to catch on sometimes.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Email server setup - basic help; tutorial for debian/Postfix/dovecot

Hello, I have been trying to setup a email server here at home, for me and a few friends. Nothing fancy, just a super basic - but secure - email server. I have been having trouble over the course of the past 2-3 weeks fumbling through various online tutorials. It shouldn't be SO hard =) ... (0 Replies)
Discussion started by: jalisco
0 Replies

2. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

3. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

4. Solaris

Basic - how do I?

How do I use ls and grep together to count a certain number of files in a directory? -Thanks (1 Reply)
Discussion started by: secno
1 Replies

5. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

6. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

7. UNIX for Dummies Questions & Answers

Basic networking setup in unix

I have a SunOS 5.8 box and have always downloaded & applied patches via my PC, but I want to be able to go out to sunsolve directly from the console ... however, I guess it doesn't know the IP of our domain's DNS server or something. Where are these setting held on a Sun box??? (1 Reply)
Discussion started by: FredSmith
1 Replies

8. UNIX for Dummies Questions & Answers

Basic .profile setup

As a brand new user, I need to setup my .profile Here's what I have: # User Profile zapservices 10/4/2005 # ############################### export ORACLE_SID=S8DEV export PS_BASE=/usr/local/psft export PS_ENV=prdsfs export PS_LOGDIR=$PS_BASE/log/$PS_ENV export... (2 Replies)
Discussion started by: zapservices
2 Replies
Login or Register to Ask a Question