Thread: Install vsftpd

    #1
  1. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Sep 2006
    Posts
    2,042
    Rep Power
    535

    Install vsftpd


    I recently installed vsftpd on a Centos 6.2 server.

    When attempting to access it via filezilla, I get 530 Permission denied.

    I've disabled the firewall and selinux.

    I've uncommented chroot_list_enable=YES in vsftpd.conf

    I've tried normal users and root. I've added the normal user to the ftp group

    What is a good approach to troubleshoot?

    Thank you
    Last edited by NotionCommotion; June 25th, 2012 at 11:19 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Sep 2006
    Posts
    2,042
    Rep Power
    535
    Don't know what I did, but got it working. I really need to better understand Linux!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Sep 2006
    Posts
    2,042
    Rep Power
    535
    Still need of some help.

    The only way I can get vsftpd to work is disable the firewall.

    /etc/init.d/iptables stop
  6. #4
  7. Providing fuel for space ships
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2004
    Location
    nr Edinburgh, Scotland
    Posts
    14,382
    Rep Power
    3848
    Rather than disable the firewall, have you checked iptables to see if port 22 (or whatever port you're using) is open ? You'll be looking for a line similar to:
    Code:
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
    Remember and restart iptables after any changes.
    Last edited by aitken325i; June 25th, 2012 at 04:41 PM.
    The No Ma'am commandments:

    1.) It is O.K. to call hooters 'knockers' and sometimes snack trays
    2.) It is wrong to be French
    3.) It is O.K. to put all bad people in a giant meat grinder
    4.) Lawyers, see rule 3
    5.) It is O.K. to drive a gas guzzler if it helps you get babes
    6.) Everyone should car pool but me
    7.) Bring back the word 'stewardesses'
    8.) Synchronized swimming is not a sport
    9.) Mud wrestling is a sport
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Sep 2006
    Posts
    2,042
    Rep Power
    535
    thanks, I'll give that a try.

    I am totally new to this, but found the following with appears to be good. If there is a better tutorial, please let me know.

    http://wiki.centos.org/HowTos/Network/IPTables
  10. #6
  11. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    Fedora has a tool named setup you can run from a command line to run a network and firewall configuration setup tool.

    If your computer has a gui the gui firewall configuration is easier to use than directly manipulating iptables.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo