on 6/5/00 8:39 PM, Eric Aksomitis  wrote:

> I can't get telnet or ftp to work, even from the konsole (telnet
> localhost).
> It keeps on with "connection refused by host".
> 
> My inetd.conf file points to telnet being serviced through tcpd to
> in.telnetd as you would expect.  There is no hosts.allow or hosts.deny
> files present.  This is the way mine is at home and I often telnet
> localhost to run programs as root real easy.
> 
> So, after having read all the man pages, all I can think of is tcpd is
> not allowing me through, but why?  If possible, I'd like to leave tcpd
> in the mix, but if not I'll just use straight in.telnetd if that works.
> 
> What else am i missing, something to do with hostname resolving?
> 
> Please help, I'm not sure what else it might be?
> 
> Eric Aksomitis
> http://www.dlcwest.com/~jed/re_answer.shtml
> 

I'll bet tcpd defaults to no access.

try this:
add a /etc/hosts.allow file and put this line:
ALL:ALL

restart inetd

try to telnet in

THAT LINE IN /etc/hosts.allow WILL LEAVE YOU WIDE OPEN!

so you need to change it after you prove to yourself that you can in fact
log in. better yet, turn off telnet and get ssh.

if you just want to run a command or two as root on your local box you can
#su in a terminal.

hope this helps
Gavin

Reply via email to