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 |
I don't think those services will allow you to log in as root. Have you tried it with a user account?
|
Yeah, tried and failed - it's only telnet that actually brings up a log-in dialog
|
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. |
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... |
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. |
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? |
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? |
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....
|
...with a user account
|
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? |
All times are GMT -5. The time now is 10:04 PM. |