How to setup basic telnet?


 
Thread Tools Search this Thread
Operating Systems Linux SuSE How to setup basic telnet?
# 8  
Old 03-21-2004
Why use grep?
Code:
find /etc -name xinetd.conf

 or

locate xinetd.conf

# 9  
Old 03-22-2004
Oh boy haha i ran those commands and they both did not find xinetd.conf. I ran them on some other files i knew were there and they found them so i don't know what the hell is up with this, it's so messed!

Oh and in ran then on inetd.conf to and it came up with nothing!

Last edited by byblyk; 03-22-2004 at 12:58 AM..
# 10  
Old 03-22-2004
What distro are you running? I signed on to a Redhat system. I verified which inetd I was running with:
ps -ef | grep inetd

And I see that I have xinetd

To find out what the config file is, I used the command:
man xinetd

The man page says /etc/xinetd.conf. Sure enough it is there. And both
find /etc -name xinetd.conf
locate /etc/xinetd.conf

can find it.
# 11  
Old 03-22-2004
In your /etc/xinetd.d directory, you should have a file named 'telnet'. If you do not you probably do not have the telnet rpm installed. Install it and see if the file shows up. Once it does simply edit is and change "disable=yes" to "disable=no". Now restart xinetd. There are many ways to do this, I use 'service xinetd restart' but I am not sure if this works way back in 7.1. If by chance you want to telnet as root, add lines like this to the end of /etc/securetty

pts/0
pts/1
pts/2
...

When you telnet to a RHL box you connect to the pts/# device. The securetty file tells telnet which devices to allow root to connect to. No pts means no root telnet which may or may not be what you want.
# 12  
Old 03-23-2004
perfect, thanks man, i'm going to do that as soon as i have a free second, i'm so boged down with school right now it's nuts!
# 13  
Old 03-25-2004
After turning my computer room upside down not once but twice i've come to the conclusion that my red hat CD is MIA. Is there anywhere i can download teh RPM for the telnet client? hehe i'm so hopless. I tried a few sites but it jsut brings me up jiberish on the screen instead of a download. Haha i'm so sorry, i'm really new to this and i don't have anybody to ask so this is the only place i can come....lol. Thanks
# 14  
Old 03-25-2004
Quote:
Why use grep?
just the way ive always done it. Smilie

byblyk, go back to the sites where you said when you tried to download it you just recieved garbage on the screen. instead of regular clicking on whatever link brought you to that, right click on it and click save as.

if those links dont turn out to be what you were expecting, try searching freshmeat.net. you could of course go to a redhat package specific site, but i dont feel like searching for any Smilie .

however you *should* know about freshmeat.net, as well as cool little projects people throw together, you can find many standard unix tools there aswell.
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