- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- LINUX RH 7.1 - Unable to enable telnet service
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
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
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
03-30-2005 12:36 AM
03-30-2005 12:36 AM
LINUX RH 7.1 - Unable to enable telnet service
I'm trying to renable my telnet service after disabling it by modifying the "disable = yes" to "disable = true". However, I'm still unable to initiate a telnet session to that particular machine:
/root >>telnet 192.168.3.193
Trying 192.168.3.193...
telnet: Unable to connect to remote host: Connection refused
Below is the content of the telnet file from /etc/xinetd.d/:
$ cat /etc/xinetd.d./telnet
# 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
}
I had restarted the xinetd services with command below:
/etc/init.d >>xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
/etc/init.d >>chkconfig --list |grep telnet
telnet: on
However, I'm still unable to do a telnet to the particular machine.
I've also modified the /etc/securetty file earlier to prevent root from logging into the following teminals, remotely:
$ cat /etc/securetty
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty0
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
Hence, I'm not sure the modification to the /etc/securetty had affected the telnet.
Could anyone kindly help me out?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:49 AM
03-30-2005 01:49 AM
Re: LINUX RH 7.1 - Unable to enable telnet service
setup->system service--> enable telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:58 AM
03-30-2005 01:58 AM
Re: LINUX RH 7.1 - Unable to enable telnet service
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 03:39 AM
03-30-2005 03:39 AM
Re: LINUX RH 7.1 - Unable to enable telnet service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 04:37 AM
03-30-2005 04:37 AM
Re: LINUX RH 7.1 - Unable to enable telnet service
1. Try to check the package with following command :
rpm -qa | grep telnet
and you should be able to see both telnet-server and telnet packages.
2. Then run setup --> services and look for iptables and ipchains are enabled, if yes then disabled.
3. Also run setup and firewall configuration, disable the firewall or make relevent changes to allow telnet protocol.
All the best..
Regards
Bindumadhava.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:10 PM
03-30-2005 01:10 PM
Re: LINUX RH 7.1 - Unable to enable telnet service
In my earlier post, I've mentioned about starting up xinetd and also setting the "disable = yes" to "disable = no" but to no avail.
I've just recently tried the method suggested by Chakravarthi and Bindumadhara of "setup -> system services -> telnet" and then did a "service telnet stop". However I'm still getting the error below:
/root >>telnet 192.168.3.193
Trying 192.168.3.193...
telnet: Unable to connect to remote host: Connection refused
I had to use SSH instead of telnet to access the machine remotely. At the affected machine, I did a chkconfig to verify if the telnet service is running. From the output below, telnet service is indeed running:
/root >>chkconfig --list|grep telnet
telnet: on
Could anyone kindly help me out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 04:45 PM
03-30-2005 04:45 PM
Re: LINUX RH 7.1 - Unable to enable telnet service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 05:13 PM
03-30-2005 05:13 PM
Re: LINUX RH 7.1 - Unable to enable telnet service
Is telnet to localhost / 127.0.0.1 and ftp localhost are working..?
Also have you enabled kerberos..? You can also check in /etc/xinetd.d/krb5-telnet file.
Regards
Bindumadhava.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 05:20 PM
03-30-2005 05:20 PM
Re: LINUX RH 7.1 - Unable to enable telnet service
Check that there is a with your ip number and the port number for telnet 23. for example "tcp 0 0 127.0.0.1:23 0.0.0.0:* LISTEN"
If you have such a line, your telnet service is fine, from the system point of view.
So either you have ipchains (don't think rh7.1 had iptables) running. (been awhile since a saw a rh7.1 system, so please be gentle)
You could try to stop ipchains, with "/etc/init.d/ipchains stop" or (i think) edit the ipchains config in "/etc/sysconfig/ipchains" and remove the telnet part. (restart ipchains after the change)