Proftpd authentication

Discussion in 'Installation/Configuration' started by ProTrooper, Aug 31, 2005.

  1. ProTrooper

    ProTrooper New Member

    I have installed proftpd but I don't quite know how to successfully log on. I can connect anonymously but not using a user I created. Using all default settings this is how it’s setup:

    CentOS
    Apache
    PHP 4.4.0
    MySQL
    Proftpd

    Added user: webadmin
    Changed passwd
    Modified /etc/passwd: webadmin:x:500:500::/var/www/html:/bin/false

    Added to /etc/proftpd.conf:
    DefaultRoot ~

    chown webadmin /var/www/html

    This is all it says in /log/messages:
    FTP session opened.
    PAM(webadmin): Authentication failure.
    FTP session closed.

    I know it is probably something simple I am forgetting. Any ideas?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Maybe this thread contains the solution:

    http://www.howtoforge.com/forums/showthread.php?t=196&page=2&pp=10
     
  3. ProTrooper

    ProTrooper New Member

    Forgot to mention, I also added the /etc/pam.d/ftp file and restarted. Same error message.
     
  4. ProTrooper

    ProTrooper New Member

    Till, do you have any great resources that explains how to setup Proftp?
     
  5. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Sorry, I dont know any. Can you post your proftpd.conf here or send it to me as a private message? I will try to compare it with my working configuration. Mine is from debian, but well see :)
     
  6. ProTrooper

    ProTrooper New Member

    Sent PM. :)
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Maybe your Proftpd is authenticating against a MySQL database instead of /etc/shadow?
     

Share This Page