LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2008, 02:59 PM   #1
yadava
Member
 
Registered: Apr 2008
Posts: 60

Rep: Reputation: 15
Lightbulb problem with telnet


hi all
i have two computers that are connected with LAN wire
one of them is running telnet server(IP=192.168.0.11)
other computer IP is 192.168.0.15
from other computer when i did {#telnet 192.168.0.11}
and type login name "root"
and its password it rejects the login

how we can login to a root account via telnet

Last edited by yadava; 06-13-2008 at 03:01 PM.
 
Old 06-13-2008, 05:28 PM   #2
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
What OS are you using?

First of all I would recommend you NOT use telnet, but use SSH instead, it does all the same things, but is more secure. Telnet should be considered deprecated and obsolete.

Secondly, why do you want to login directly as root? That's also a very insecure procedure as it could allow a brute force attack. You should instead log in as a regular user and then use "su" to switch to root, or better yet, "sudo" to execute any admin commands you need.

I suspect that you can't login through telnet as root because your distro has this disabled by default (which is very prudent).

There's really no need to login directly as root ever.

In general, you won't be able to login as root unless there's an appropriate console device listed in /etc/securetty and appropriate authentication config setup in /etc/pam.d/, but the specific details will depend on your distro.

However, I would again strongly recommend that you do not setup your system in this manner.

Install OpenSSH, login as a normal user and use "sudo" for any admin commands you need.
 
Old 06-14-2008, 05:56 AM   #3
yadava
Member
 
Registered: Apr 2008
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JoeDuncan View Post
What OS are you using?

First of all I would recommend you NOT use telnet, but use SSH instead, it does all the same things, but is more secure. Telnet should be considered deprecated and obsolete.

Secondly, why do you want to login directly as root? That's also a very insecure procedure as it could allow a brute force attack. You should instead log in as a regular user and then use "su" to switch to root, or better yet, "sudo" to execute any admin commands you need.

I suspect that you can't login through telnet as root because your distro has this disabled by default (which is very prudent).

There's really no need to login directly as root ever.

In general, you won't be able to login as root unless there's an appropriate console device listed in /etc/securetty and appropriate authentication config setup in /etc/pam.d/, but the specific details will depend on your distro.

However, I would again strongly recommend that you do not setup your system in this manner.

Install OpenSSH, login as a normal user and use "sudo" for any admin commands you need.
i want to know that is it possible well i am not going to use it this was only for my information.
i am using RED HAT ENTERPRISE LINUX 5.0 server edition(2.6.18-8)
 
Old 06-14-2008, 06:20 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are these the only computers connected and are neither on the internet, and are you the only user? If all of these are true, then telnet would be OK. However you still should login as a regular user and use sudo for commands that need root access.
Unless you absolutely need a faster throughput, using ssh would be much better to use. Plus running a graphical program is easier to do. Simply use the "-X" argument as in "ssh -X user@host".

One thing that might be blocking you is /etc/securetty. Another is /etc/security/access.conf. The service could be disabled in the xinetd.d/telnet file. You really need read your logs to find out why access was denied.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
Can't end telnet servcie in xinetd when close remote telnet cliend forcely zeroneworld Linux - Newbie 2 12-09-2007 08:47 PM
Can't end telnet servcie in xinetd when close remote telnet cliend forcefully. zeroneworld Linux - General 1 12-06-2007 07:17 AM
Running Telnet in a script, want to save Telnet output, howtodothis??? anil3 Linux - Software 2 03-08-2006 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration