Bluehost.com Web Hosting $6.95

Telnet problems

This is a discussion on Telnet problems within the Linux Networking forums, part of the Linux Forums category; OK I have the two linux computers networked to some extent. When I telnet from one computer to the other ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-05-2003
tom
 
Posts: n/a
Default Telnet problems

OK I have the two linux computers networked to some
extent.

When I telnet from one computer to the other I get
the log in screen but I cant login. Telnet insists my
password is no good. What is going on here?


Reply With Quote
  #2 (permalink)  
Old 11-05-2003
Joe Dunning
 
Posts: n/a
Default Re: Telnet problems

On Wed, 05 Nov 2003 21:23:05 GMT, tom <wolfemet@ameritech.net> wrote:
>OK I have the two linux computers networked to some
>extent.
>
>When I telnet from one computer to the other I get
>the log in screen but I cant login. Telnet insists my
>password is no good. What is going on here?


I don't think that you mentioned what distro you are running, but
possibly, xinetd is configured to only allow telnet connections from
localhost. This can result in password error messages, even if the
password is correct. Look in the directory: /etc/xinetd.d and you will
see a file called "telnetd" (or something similar). The format is pretty
obvious. You will have to reload xinetd after making the changes.


Reply With Quote
  #3 (permalink)  
Old 11-05-2003
Grant Edwards
 
Posts: n/a
Default Re: Telnet problems

In article <ZSdqb.13187$8x2.6328929@newssrv26.news.prodigy.co m>, tom wrote:

> When I telnet from one computer to the other I get
> the log in screen but I cant login. Telnet insists my
> password is no good. What is going on here?


Are you trying to log in as root? Most distros won't allow root to log in
via telnet. Somewhere there's a list of "secure" ttys that determine from
where root can log in, and usually only local VCs are listed. If that's the
issue, then just log in as a normal user, then "su".

--
Grant Edwards grante Yow! Where's th' DAFFY
at DUCK EXHIBIT??
visi.com
Reply With Quote
  #4 (permalink)  
Old 11-06-2003
Bit Twister
 
Posts: n/a
Default Re: Telnet problems

On Wed, 05 Nov 2003 21:23:05 GMT, tom wrote:
> OK I have the two linux computers networked to some
> extent.
>
> When I telnet from one computer to the other I get
> the log in screen but I cant login. Telnet insists my
> password is no good. What is going on here?



Today's Tip of the Day, very large
Frequently Asked Questions (faq) Search engine:

http://groups.google.com/advanced_group_search
key word(s) in the first box
*linux* in the Newsgroup, pick English

Reply With Quote
  #5 (permalink)  
Old 11-06-2003
ynotssor
 
Posts: n/a
Default Re: Telnet problems

"Joe Dunning" <joe@blahblah.invalid> wrote in message
news:p4eqb.113912$Fm2.101229@attbi_s04

> I don't think that you mentioned what distro you are running, but
> possibly, xinetd is configured to only allow telnet connections from
> localhost. This can result in password error messages, even if the
> password is correct.


If they are getting a login and password prompt, they are already connected.


--
use hotmail com for any email replies



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Reply With Quote
  #6 (permalink)  
Old 11-06-2003
Dmitry Frantskevich
 
Posts: n/a
Default Re: Telnet problems

Are you connect by 'root'?
See /etc/pam

tom wrote:

> OK I have the two linux computers networked to some
> extent.
>
> When I telnet from one computer to the other I get
> the log in screen but I cant login. Telnet insists my
> password is no good. What is going on here?


--
Dmitry Frantskevich
F.D.V.

Reply With Quote
  #7 (permalink)  
Old 11-06-2003
Bill Marcum
 
Posts: n/a
Default Re: Telnet problems

On Wed, 05 Nov 2003 21:23:05 GMT, tom
<wolfemet@ameritech.net> wrote:
> OK I have the two linux computers networked to some
> extent.
>
> When I telnet from one computer to the other I get
> the log in screen but I cant login. Telnet insists my
> password is no good. What is going on here?
>

If you are trying to login as root, perhaps that is not allowed by
/etc/securetty.


--
You can go anywhere you want if you look serious and carry a clipboard.
Reply With Quote
  #8 (permalink)  
Old 11-06-2003
tom
 
Posts: n/a
Default Re: Telnet problems


"Grant Edwards" <grante@visi.com> wrote in message
news:slrnbqis4a.rvm.grante@isis.visi.com...
> In article <ZSdqb.13187$8x2.6328929@newssrv26.news.prodigy.co m>, tom

wrote:
>
> > When I telnet from one computer to the other I get
> > the log in screen but I cant login. Telnet insists my
> > password is no good. What is going on here?

>
> Are you trying to log in as root? Most distros won't allow root to log in
> via telnet. Somewhere there's a list of "secure" ttys that determine from
> where root can log in, and usually only local VCs are listed. If that's

the
> issue, then just log in as a normal user, then "su".
>
> --
> Grant Edwards grante Yow! Where's th' DAFFY
> at DUCK EXHIBIT??
> visi.com


Thanks that was the problem. But what is the purpose
behind not allowing one to login as root via telnet?


Reply With Quote
  #9 (permalink)  
Old 11-06-2003
Grant Edwards
 
Posts: n/a
Default Re: Telnet problems

In article <jFxqb.13618$8x2.6539855@newssrv26.news.prodigy.co m>, tom wrote:

>> > When I telnet from one computer to the other I get
>> > the log in screen but I cant login. Telnet insists my
>> > password is no good. What is going on here?

>>
>> Are you trying to log in as root? Most distros won't allow root to log in
>> via telnet. Somewhere there's a list of "secure" ttys that determine from
>> where root can log in, and usually only local VCs are listed. If that's
>> the issue, then just log in as a normal user, then "su".


> Thanks that was the problem. But what is the purpose
> behind not allowing one to login as root via telnet?


Security. If root is only allowed to log in locally, then somebody has to
gain physical access to do nasty things. Unless the also have a normal
username and password -- in which case it's sort of moot (though it might be
easier to trace them later if you require a normal login and an su).

These days, if you're concerned about security, you should probably be using
ssh anyways.

--
Grant Edwards grante Yow! Where's th' DAFFY
at DUCK EXHIBIT??
visi.com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0