Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have just gotten Redhat 8.0 installed on an old box.
I have a broadband connection and I am using a router to connect two computers, one XP and new one RH8.
I can ping the linux box.
I have gotten Telnet up and running on it using info in these forms, and when I telnet to the box I get prompted to login.
This is where the problem is:
I try to login, as root, and I know I am using the correct password and have verified it. Yet I get 'Login Incorrect' everytime. Any Ideas?
I also realize 2 things, most people are going to tell me to move to ssh, which I probably will shortly, I would just like to get the basics working since I seem close. Also that logging in as root is a bad idea except for admin, I was going to learn to create new users as my first task. Could logging in as root be the problem?
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Re: telnet connecting, correct login refused
Quote:
Originally posted by mattns
I have gotten Telnet up and running on it using info in these forms, and when I telnet to the box I get prompted to login.
This is where the problem is:
I try to login, as root, and I know I am using the correct password and have verified it. Yet I get 'Login Incorrect' everytime. Any Ideas?
I also realize 2 things, most people are going to tell me to move to ssh, which
You do know that you should be using ssh don't you? (Sorry... couldn't resist.)
I think whats happening is that the system is not recognizing network logins as root. See the manpage for `securetty'. You will probably have to add `pts' to that file to allow logins as root. Or... you could login as another user and `su' to root. That works on Linux (but not on all UNIXes). Still, ssh is the way to go. That way you don't need to worry as much about folks getting into your root account.
BTW, did you force telnet to run? I have RH8.0 systems that, out of the box, disable the telnet protocol. I can't even get a login prompt. (I just use ssh instead. :-) )
Thanks for the responses. Sure enough that once I created a new user everything worked fine, and YES, my first task is to get ssh running
rnturn, just to satisfy your curiosity, if you go to /etc/xinetd.d/
and vi the telnet file you will notice that it is disabled by default. just change 'disable = yes' to 'disable = no' and it should work fine. enjoy
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally posted by mattns
rnturn, just to satisfy your curiosity, if you go to /etc/xinetd.d/
and vi the telnet file you will notice that it is disabled by default. just change 'disable = yes' to 'disable = no' and it should work fine. enjoy
That's OK. (Knew about that item in the xinet.d config.) I like ssh over telnet anyway. I found it a bit annoying at first but saw the benefit. Even inside my firewall. At least I don't have to worry about some odd side effect of an iptables rule that accidently lets telnet in or something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.