- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to enable telnet?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:04 AM
тАО05-10-2004 01:04 AM
I try to enable logins via 'telnet'. For that, I've to edit /etc/inetd.conf. Here are the uncommented lines:
echo stream tcp nowait root internal
echo dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
daytime dgram udp wait root internal
chargen stream tcp nowait root internal
chargen dgram udp wait root internal
time stream tcp nowait root internal
time dgram udp wait root internal
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
login stream tcp nowait root /usr/sbin/tcpd in.rlogind -a
exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
vopied stream tcp nowait root /usr/openv/netbackup/bin/vopied vopied
bpjava-msvc stream tcp nowait root /usr/openv/netbackup/bin/bpjava-
msvc bpjava-msvc -transient
After re-starting the inetd, I thought, telnet sessions should now be enabled. But they arn't:
> telnet my_host
telnet my_host
Trying 111.111.111.111...
Connected to my_host.
Escape character is '^]'.
Connection closed by foreign host.
Did I forget something? What?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:11 AM
тАО05-10-2004 01:11 AM
Re: How to enable telnet?
However, in your case, telnetd is being started by "tcpd" and you should look at the man page for this. The section on "HOST NAME VERIFICATION" may be of interest.
If it starts to get a bit boring and you are on a trusted network, you can change /etc/inetd.conf to call in.inetd instelf instead of through "rcpd"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:36 AM
тАО05-10-2004 01:36 AM
Re: How to enable telnet?
please read this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=139979
hope it help.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:44 AM
тАО05-10-2004 01:44 AM
Re: How to enable telnet?
vi telnet or krb5-telnet in the case of the newer red hat products
Where it says disable=yes
make it say disable=no
Save the vile
service xinetd restart
Done.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:49 AM
тАО05-10-2004 01:49 AM
Re: How to enable telnet?
I don't think this is a Red Hat box. On the other hand, if it is a Red Hat, then that will explain the problem as editing inetd.conf will achieve nothing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:49 AM
тАО05-10-2004 01:49 AM
Re: How to enable telnet?
thanks for your hints. Meanwhile, I looked at the syslog, it says:
May 10 15:35:38 my_host in.telnetd[2868]: connect from 111.111.111.111 (111.111.111.111)
May 10 15:35:38 my_host in.telnetd[2868]: error: cannot execute /usr/sbin/in.telnetd: No such file or directory
And, in fact, /usr/sbin/in.telnetd is missing (??). A 'find /usr -name in.telnetd' didn't find anything.
How can it be that /usr/sbin/in.telnetd is missing? (Of course, I did not remove it by my own.)
Joseph, Steven,
at the moment, I do not plan to use xinetd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 01:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 02:02 AM
тАО05-10-2004 02:02 AM
Re: How to enable telnet?
have you installed telnet-server package?
I think is in the telnet-server package where in.telnetd is.
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 02:10 AM
тАО05-10-2004 02:10 AM
Re: How to enable telnet?
thank you for help so far. I installed netbackup client software, and a telnet session is only needed for verifying that the netbackup installation can establish/accept network connection. For other things, I do not need telnet.
So, first, I want to check if netbackup works. I'd like to postpone the telnet problem, until I'm sure if I really need it.
Thank you.