LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-18-2003, 01:55 PM   #1
sknoxy
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
Unhappy rlogin, ftp, telnet


Hi all,

I'm having problems after installing linux 7.3

from my solaris box I can ping my linux box but I can't get logged into the linux box via rlogin or telnet. With telnet, it brings up the log-in dialog but even when I try to login as root it gives me a 'Login incorrect' message. With ftp and rlogin my connections are refused. I have amended the telnet file in xinetd.d to disable=no.

Any help would be really appreciated.

Sknoxy
 
Old 09-18-2003, 01:58 PM   #2
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
I don't think those services will allow you to log in as root. Have you tried it with a user account?
 
Old 09-18-2003, 02:00 PM   #3
sknoxy
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Yeah, tried and failed - it's only telnet that actually brings up a log-in dialog
 
Old 09-18-2003, 02:08 PM   #4
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Ok, are these services tcp wrapped? What does your inetd.conf file look like? Have you run a port scan to see if the ports are listening? What distro are you using? Ftp server? Why do I have more questions than you do?

incidentally, you may want to consider using ssh instead of telnet.
 
Old 09-18-2003, 02:12 PM   #5
sknoxy
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
woah, woah, woah... slow down there...

firstly, you'll have to tell me what I should be doing in order to answer your questions..

you could be right about ssh but neither are any good to be if I can't get them working...
 
Old 09-18-2003, 02:34 PM   #6
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Sorry, I'm on my second cup of mate -- I'll try to take it easy.

Let's start with your distro and kernel version. You should now the distro straight off. For the kernel version, type 'uname -r'

I am curious to see if necessary ports are open. Nmap may already be on your machine. Simply type (as root) 'nmap localhost' Post the results. If you get a 'command not found' error, you need to get it and install it -- it's an invaluable security tool.

Just for fun, try this from your Solaris box: 'ssh IpAddressOfLinBox' and see if you can log in with a user account.
 
Old 09-18-2003, 02:54 PM   #7
sknoxy
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Cheers for bearing with me...

kernel : uname -r gives me 2.4.18-3

nmap:

Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ )
Interesting ports on mack (127.0.0.1):
(The 1545 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
111/tcp open sunrpc
513/tcp open login
645/tcp open unknown
1024/tcp open kdm
1025/tcp open listen
6000/tcp open X11


Nmap run completed -- 1 IP address (1 host up) scanned in 1 second

ssh: requests the user's password but gives a 'permission denied' dialog when correct password entered


Any help?
 
Old 09-18-2003, 03:22 PM   #8
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
So, you're login ports (22, 23, and 513) are all open, but ftp (21) is not. Most likely you don't have an ftp server installed/running. We'll worry about that later.

The user that is being denied remote access -- can it log in to the machine itself?
 
Old 09-18-2003, 03:25 PM   #9
sknoxy
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
I'm probably misunderstanding you but if you mean if I can log into my linux box from the box itself then yes I can, I'm typing from my linux box....
 
Old 09-18-2003, 03:26 PM   #10
sknoxy
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
...with a user account
 
Old 09-22-2003, 12:33 PM   #11
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Hey sknoxy, how you coming?

Sorry I disappeared for the weekend, have you worked it out yet? If not, I had another idea. What do your hosts.allow and hosts.deny files look like?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vnc..telnet..rlogin..nothing works 4 me funkymunky Linux - Networking 25 08-20-2004 08:08 AM
rlogin & telnet differences Greg_courageous Linux - Software 1 04-27-2004 04:52 AM
telnet and ftp? nabil_boussetta Linux - Networking 4 10-27-2003 09:05 AM
telnet and ftp? nabil_boussetta Red Hat 4 10-27-2003 08:33 AM
telnet and FTP clewis Linux - Newbie 6 06-25-2001 03:04 AM


All times are GMT -5. The time now is 01:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration