SLUG Mailing List Archives
Re: [SLUG] Debian fptd question
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Debian fptd question
- From: "Peter Rundle" <peter.rundle@xxxxxxxxxxxxxxxx>
- Date: Fri Nov 3 02:52:53 2000
- User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001010
What could be stopping the ftp from working?
Check your pam configuration. Is there a file "ftp" in the
/etc/pam.d directory? Otherwise is the file "other" in there?
Make sure that they have the correct auth settings. (look on
another box or at another service like telnet for examples).
I don't know different Debian is layed but other things I
check in a RH/Solaris setup are,
/etc/inetd.conf has the ftp line in it, (hup the inetd),
then do a netstat -an and check that the server is listening
on ports 20-21.
/sbin/in.ftpd exists and is executable.
Check that /etc/hosts.allow and hosts.deny aren't stopping
you. (though in this case you should get connected then
immediately connection closed by foreign host)
/etc/hosts file or dns is setup correctly. If you put a dns
entry into /etc/resolv.conf that is unreachable ftp will take
ages to bring up the login prompt. The server tries to perform
a reverse lookup of the client. If the DNS's are unreachable
the ftp session can time out before the nameserver lookup
does. If I access the server from a same client a lot I
often just put the client in the hosts file and set nsswitch.conf
to be files, dns.
Do an ipchains -Ln to make sure that you aren't "firewalled"