Enable telnet for root

Support for security such as Firewalls and securing linux
Post Reply
Spidomh
Posts: 5
Joined: 2014/08/29 14:06:21

Enable telnet for root

Post by Spidomh » 2014/08/29 14:39:03

Hi,

I have a freshly unstalled Centos7 server and i need to permit telnet login for root.
I tried to install telnet-server and xinetd, but I can't figure out how to configure it to give access to root via telnet.
:(
Any suggestion?

Domenico

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Enable telnet for root

Post by gerald_clark » 2014/08/29 16:35:02

A search for telnet in the forum came up with
viewtopic.php?f=47&t=47427&p=201798&hil ... et#p201798

Spidomh
Posts: 5
Joined: 2014/08/29 14:06:21

Re: Enable telnet for root

Post by Spidomh » 2014/09/01 08:03:21

Hi Gerald,

thank you I could install telnet and it works!! :D

Anyway I need to enable root access via telnet, when I try to connect as root I receive a Login Incorrect message back.

Can you help me?

Domenico

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Enable telnet for root

Post by gerald_clark » 2014/09/01 13:03:52

It is better to login as a regular user and then su root.
If you really must telnet in as root, add telnet to /etc/securetty

User avatar
TrevorH
Forum Moderator
Posts: 26576
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Enable telnet for root

Post by TrevorH » 2014/09/01 13:13:39

I haven't seen anyone else say this so... using telnet is a huge security risk. It's an out dated protocol that doesn't encrypt data and all usernames and passwords are visible in plain text as they go over the network. Anyone can sniff this data and compromise your system. It should not be used.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Spidomh
Posts: 5
Joined: 2014/08/29 14:06:21

Re: Enable telnet for root

Post by Spidomh » 2014/09/02 07:29:21

Thank you a lot again, all is now perfectly working.

You're right Trevor, anyway this will be an internal server for testing and development and I'm been required to allow telnet for root ... customer is ever right

;)

:-Dom

Post Reply

Return to “CentOS 7 - Security Support”