Computing.Net > Forums > Linux > telnet server not login through roo

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

telnet server not login through roo

Reply to Message Icon

Name: saya_vishal_lko
Date: September 4, 2006 at 03:11:43 Pacific
OS: linux fedora 4.0
CPU/Ram: P_III
Comment:

hi
I install a telnet server, when a login it I is login through a user but it is give a message the connection closed by foregin when i login it through root. then right now I am first login it through a user then using su - command I am entering in root is there is another way to login in root



Sponsored Link
Ads by Google

Response Number 1
Name: sen (by santanusen_82)
Date: September 4, 2006 at 21:35:55 Pacific
Reply:

Hi,

you cannot directly login as root through telnet. This is a part of the protocol itself purely due to security reasons. Otherwise people may run some scripts that will try all combinations of characters as the password until it is able to login and hence retreive your root password. Fortunately, as logging in as root is prohibited through telnet, the scripts written by the crackers have to guess both username as well as password, which is quite tough if not impossible..


0

Response Number 2
Name: FishMonger
Date: September 5, 2006 at 07:49:28 Pacific
Reply:

If you want to login directly as root, then you'll want to use ssh instead of telnet.

http://www.rz.uni-karlsruhe.de/~ig25/ssh-faq/


0

Response Number 3
Name: Ravindra Solanki
Date: September 11, 2006 at 00:53:52 Pacific
Reply:

Root can login through telnet session, but by default it is disabled. You can enable by appending /etc/securetty file

open /etc/securetty using vi

#vi /etc/securetty

pts/0
pts/1

don't remove anything from this /etc/securetty , just append your entries.


Ravindra Solanki
MCA,RHCE
Programmer-cum-Administrator
State Bank Of India, CBD Belapur
Email : ravindra.solanki@sbi.co.in


0

Response Number 4
Name: ctj
Date: September 13, 2006 at 07:24:05 Pacific
Reply:

It is better not to allow telnet login for root(If the machine is exposed to internet). There are thousands of hackers around trying various combinations of username and password. So, better use the ssh for root login from a remote machine.


ctj


0

Response Number 5
Name: 3Dave
Date: September 14, 2006 at 01:39:47 Pacific
Reply:

All the "hackers" trying username and password combinations on port 23 (telnet) are also probably trying the same combinations for port 22 (SSH) and any other services that may be available. The benefit of running SSH over telnet is that when logging in (as root or any other user) the password is not transmitted in plain text and is therefore much harder to sniff off the network.

I personally disable root login for SSH too in favour of using sudo or su as a regular user as I often get script kiddies hammering on my SSH door trying to login with default usernames (root, administrator, guest etc)


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: telnet server not login through roo

Linux Telnet Server Setup www.computing.net/answers/linux/linux-telnet-server-setup/18567.html

telnet server problem www.computing.net/answers/linux/telnet-server-problem/19666.html

can't access telnet server from other www.computing.net/answers/linux/cant-access-telnet-server-from-other-/7179.html