Author Topic: Having trouble getting RH7.2's FTP server to work  (Read 653 times)

Bateluer

  • Member
  • **
  • Posts: 66
  • Kudos: 0
Does anybody know how to get RH7.2's FTP server, I believe its WU-FTP, to work? I've always had trouble getting FTP servers to work in RH. 7.0 and 7.1 had similar problems. Mandrake 8.0 and 8.1 worked perfectly right after the install.

lost

  • Member
  • **
  • Posts: 48
  • Kudos: 0
    • http://www.23.org/
Having trouble getting RH7.2's FTP server to work
« Reply #1 on: 9 March 2002, 04:52 »
quote:
Originally posted by Bateleur:
Does anybody know how to get RH7.2's FTP server, I believe its WU-FTP, to work? I've always had trouble getting FTP servers to work in RH. 7.0 and 7.1 had similar problems. Mandrake 8.0 and 8.1 worked perfectly right after the install.


Stay away from Wu.  That has to be one of the most exploitable servers next to bind and sendmail and iis.  Dont know how to configure it under redhat, Maybe Void wants to take this one up.  But seriously look into proftpd.
If ignorance is bliss, why aren't there more happy people?

[email protected]


Bateluer

  • Member
  • **
  • Posts: 66
  • Kudos: 0
Having trouble getting RH7.2's FTP server to work
« Reply #2 on: 9 March 2002, 05:04 »
Whats the link to ProFTP's site?

Bateluer

  • Member
  • **
  • Posts: 66
  • Kudos: 0
Having trouble getting RH7.2's FTP server to work
« Reply #3 on: 9 March 2002, 05:43 »
Which would be www.proftpd.org and not proftp.org . . . .

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Having trouble getting RH7.2's FTP server to work
« Reply #4 on: 9 March 2002, 06:36 »
Well, I usually switch to proftp on my public servers, however wu-ftp does just fine on internal servers (unless you have internal hacker types who hate your guts).  Just install the wu-ftpd RPM and as root do a "chkconfig wu-ftpd on", then "service xinetd reload".  You should now be able to ftp into your box, but not anonymously.  If you want to FTP into it anonymously you will also want to install the anonftp RPM.  The RPMS I mention should be included on your CDs on both RedHat versions in question.

Obviously the method I describe also depends on the xinetd package being installed which is likely already is. This also assumes you don't have ipchains/iptables configured to block FTP.

Alternatives to the "chkconfig" command would be editing the "/etc/xinetd.d/wu-ftpd file and setting the line with "disable" in it to "no".

Alternative to the "service" command would be:
# /etc/rc.d/init.d/xinetd reload

Have other distros included "chkconfig" and "service" commands?  I noticed them at about RedHat 6.1 and found them to be my favorite way of changing my sysv init around even though they are non-standard.  It's good to know the "standard" methods as a base.  "chkconfig" has some useful parameters like "--list" and "--level" so you can do things like:

# chkconfig --list | grep on

and it will show you all the services that are turned on for each run level.  To set a service to on you can do something like:

# chkconfig httpd on

or to just turn httpd on in run level 3 and 5 you could do:

# chkconfig --level 35 httpd on

[ March 08, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...