Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.