ispconfig proftp

Discussion in 'Installation/Configuration' started by mufasa, Oct 30, 2008.

  1. mufasa

    mufasa New Member

    Can anyone help me

    Non of my users are able to access ftp using their usernames and passwords

    eg.

    host: xxxxxxx.com port 21

    user: web24_admin

    pw: xxxxxxx

    we get a login invalid message

    user is listed in etc/passwd as:

    web24_admin:x:10124:10024::/var/www/web24:/bin/bash

    Thanks

    John
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Are you able to login with the web_ftp in ispconfig?
    2) Which linux distribution do you use?
     
  3. mufasa

    mufasa New Member

    1) No
    2) Redhat Linux Fedora 7

    Thanks

    John
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please comment out the include line at the end of the proftpd.conf file, the one that oncludes the proftpd_ispconfig.conf and restart proftpd.
     
  5. mufasa

    mufasa New Member

    Have done as requested, still unable to login

    When trying to login to we-ftp I now get a 'could not connect to loaclhost'

    Any help will be apprecaited

    thank-you

    John
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap | grep ftp
     
  7. mufasa

    mufasa New Member

    tcp 0 0 *:ftp *:* LISTEN 6237/proftpd: (acce
     
  8. mufasa

    mufasa New Member

    Just for reference

    Since changing the conf file ispconfig is showing the ftp as 'offline'

    Thanks

    John
     
  9. falko

    falko Super Moderator Howtoforge Staff

  10. mufasa

    mufasa New Member

    Hi Falko

    I created the suggested ftp file and that seems to have fixed the problem of logging in via filezilla.

    I am still however unable to use the web-ftp on ispconfig

    Any ideas?

    Thanks once again

    John
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Do you see any error messages? What's in the logs?
     
  12. mufasa

    mufasa New Member

    All I get is

    'could not connect as user web1_user'

    I have however since my last post been able to login with one user.

    I have 10 sites and am unable to access any of the web-ftp except one

    When I checked the passwd file in etc/passwd the user that is able to login in has bin/bash at the end of his line all the other users have bin/false? could this have something to do with the problem.

    Any help will be appreciated

    Thank-you

    John
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Is /bin/false listed in /etc/shells? If not, add it to that file.
     
  14. mufasa

    mufasa New Member

    Hi

    Yes it is listed there

    Thanks

    John
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Can you post /etc/shells and one of the not-working users from /etc/passwd?
     
  16. mufasa

    mufasa New Member

    Hi Falko

    /etc/shells

    /bin/sh
    /bin/bash
    /sbin/nologin
    /bin/tcsh
    /bin/csh
    /bin/false
    /SENDMAIL/ANY/SHELL/

    /etc/passwd

    web9_john:x:10123:10009:John:/var/www/web9:/bin/false

    Thanks

    John
     
  17. falko

    falko Super Moderator Howtoforge Staff

    And when you change /bin/false to /bin/bash for web9_john in /etc/passwd, that user can log in using FTP?
     
  18. mufasa

    mufasa New Member

    No same error

    Thanks

    John
     
  19. falko

    falko Super Moderator Howtoforge Staff

    And there's nothing in the logs? Not even in the auth.log?
     
  20. mufasa

    mufasa New Member

    Hi Falko

    Where would I fing the auth.log file
     

Share This Page