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.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. AIX
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
4. Shell Programming and Scripting
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
5. Solaris
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
6. UNIX for Dummies Questions & Answers
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
LEARN ABOUT OSF1
telnetrc
telnetrc(4) Kernel Interfaces Manual telnetrc(4)
NAME
telnetrc, .telnetrc - Specifies setup commands for a telnet session
SYNOPSIS
$HOME/.telnetrc
DESCRIPTION
The .telnetrc file contains the setup information for a telnet session. It is a hidden file in your home directory and must be readable by
the user logging in.
The file can consist of multiple entries for each remote host to which a user can connect. A remote host entry consists of multiple lines.
The first line is the name of a remote host. The subsequent lines must begin with blank spaces, and contain telnet subcommands. These sub-
commands are processed as though they were typed in manually. Lines beginning with a number sign (#) are comment lines. See telnet(1) for
a complete list of telnet subcommands.
To specify subcommands that apply to all systems, create an entry, using the word "DEFAULT" as the system name, and specify the telnet sub-
commands in the subsequent lines.
EXAMPLES
The following shows a sample .telnetrc file:
# Beginning of telnetrc file # Default subcommands that apply to all systems DEFAULT
environ undefine USER # First system entry system1
set echo
toggle crlf # Second system entry system2
set echo
mode line
toggle crlf
FILES
User-customized telnet startup values.
RELATED INFORMATION
Commands: telnet(1). delim off
telnetrc(4)