#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Chicago
    Posts
    81
    Rep Power
    13

    Enabling FTP on RH 7.1


    Hey I have php mysql and apache configured for my RH 7.1 but I don't know how to get ftp configured. I read online to enable it in one of the files in /etc/xinetd.d but the only two files I have are linuxconf-web and linuxconf-web.save. It said that there should be a file for ftp but I don' t see one. If anyone has this file could they paste the code up here and let me know how to enable it?

    I will greatly appreciate all help,

    thanks,
    kevin buch
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2002
    Location
    Hong Kong
    Posts
    23
    Rep Power
    0
    Have you installed wu-ftpd?

    try use:

    rpm -qa | grep wu-ftp

    if you don't have any response, install it now!
  4. #3
  5. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
    Take a look at www.pureftpd.org very easy and well documented:
    **** Usage with Xinetd ****

    Add the following entry to the /etc/xinetd.conf file :


    service ftp
    {
    socket_type = stream
    server = /usr/local/sbin/pure-ftpd
    protocol = tcp
    user = root
    wait = no
    disable = no
    }


    On Redhat systems, you can also put this in a /etc/xinetd.d/pure-ftpd file.

    Then, restart the server :

    killall -USR2 xinetd
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Chicago
    Posts
    81
    Rep Power
    13
    Hey thanks a lot for the response. I am at school but when I get home I will try that.

    Thanks again,
    Kevin
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Posts
    5
    Rep Power
    0

    ftp on redhat


    install the wu-ftpd rpm. edit the /etc/ftpaccess file and add a line for guest group "guestgroup ftpuser" and a line for a real group "realgroup wheel". start the server with the "-a" flag. this will chroot anyone logging in whose is in the goup ftpuser.
    also check out http://www.chuvakin.org/ispdoc/ for a good reference.

    ps. ssh.com has a sftp server included. which makes an encrypted tunnel for file transfers. they also have gui win32 client programs for download. the server has a simmilar chroot feature.

    good luck
    chris

IMN logo majestic logo threadwatch logo seochat tools logo