Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    13

    Default problems with an ftp logon

    Hi,

    I've just finished setting up cpanel on my fsb4.7 server

    all runs good so far except for the ftp logon of one user
    he always gets login/pwd wrong

    he can login via webmail/cpanel/ssh/mail

    but not via ftp

    i've tried ftp pw synch and even reset his pwd in the WHM but still no work

    any ideas ?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2002
    Posts
    136

    Default

    Hello dorijan,

    I have this problem also.Do you get the solutions?



    Andy

  3. #3
    Member
    Join Date
    May 2002
    Posts
    119

    Default

    I face same problem here, how can i fix that

    Please help.

  4. #4
    Member
    Join Date
    Sep 2002
    Location
    Europe
    Posts
    270

    Default

    The problem is well known but I don't see anyone from CPanel solving this.

    I created additional FTP accounts and no one can be accesible by FTP, just main one .

    Ticket is open now almost two weeks and no one respond !

  5. #5
    Registered User
    Join Date
    Jan 2003
    Posts
    2

    Default

    i've found that adding ftp accounts using xskin corrupts the proftpd database for that account... need to manually edit /etc/proftpd/username and delete the corrupted entries... switched to bluelagoon and all works well...

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Same problem here !!!!!!
    Support ticket 10 days old

  7. #7
    Member
    Join Date
    Apr 2003
    Posts
    223

    Default

    Originally posted by Woofcat
    i've found that adding ftp accounts using xskin corrupts the proftpd database for that account... need to manually edit /etc/proftpd/username and delete the corrupted entries... switched to bluelagoon and all works well...
    Now that is the problem then. I shall have to switch all users over to blue lagoon.

  8. #8
    Member
    Join Date
    Sep 2002
    Location
    Europe
    Posts
    270

    Default

    I don't know how this will solve this problem as FTP accounts are already created and how skin can cause an error in creating FTP accounts.

    Please when You switch to blue lagun please tell us is that solved problem

    Thanks

  9. #9
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Same problem with Bluelagun here

  10. #10
    Member
    Join Date
    Apr 2003
    Posts
    223

    Default

    okay here is what i did.

    1. change the users skin over to bluelagoon
    2. stop proftpd and cpanel ( no logins at all, we are fixing something lets not mess it up )
    3. cd /etc/proftpd/
    4. Now you need to use nano/pico/edit/ee/vi to edit anything that isnt *_logs. If you have a lot of accounts, i wish you luck.

    Example:

    account named wrjames:

    Code:
    frankie:$1$52605 6
    :2014:2014wrjames:$1$yZVVyN6e$SpbQDYYSPqG/Y2C6QzT2Q0:2014:2014:User &:/usr/home/wrjames:/bin/bash
    ftp:*:1003:1003:&:/usr/home/wrjames/public_ftp:/usr/local/bin/bash
    wrjames_logs:$1$yZVVyN6e$SpbQDYYSPqG/Y2C6QzT2Q0:2014:2014:wrjames:/usr/local/apache/domlogs:/bin/ftpsh
    has that in /etc/proftpd/wrjames

    now, i dont know if you can see whats wrong but i will show you.

    Code:
    frankie:$1$52605 6
    :2014:2014wrjames:$1$yZVVyN6e$SpbQDYYSPqG/Y2C6QzT2Q0:2014:2014:User &:/usr/home/wrjames:/bin/bash
    ftp:*:1003:1003:&:/usr/home/wrjames/public_ftp:/usr/local/bin/bash
    wrjames_logs:$1$yZVVyN6e$SpbQDYYSPqG/Y2C6QzT2Q0:2014:2014:wrjames:/usr/local/apache/domlogs:/bin/ftpsh
    The rest is correct, if the user tried to add multiple accounts and failing ( duh its corrupt ), you basically have to remove those as well.

    Now that you have done that for all your users, you will need to restart proftpd and cpanel. Enjoy.

  11. #11
    Member
    Join Date
    Apr 2003
    Posts
    223

    Default

    Hope that helps.

  12. #12
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Hello!

    I'm jumping in here to see if you can help :-)

    Here's how my user file looks like:

    girdles:34DNNAvbO0kXY:1017:1018:ffocus:/usr/home/admin/accounts/ffocus/public_html/girdles:/bin/ftpsh
    ffocus_logs:$1$9sDLUGAG$Ga57MmATrzx0j4zDTu9cn/:1017:1018:ffocus:/usr/local/apache/domlogs:/bin/ftpsh
    lottis:63MfCV7jCmsZw:1017:1018:ffocus:/usr/home/admin/accounts/ffocus/public_html:/bin/ftpsh
    ffocus::1017:1018::/usr/home/admin/accounts/ffocus:/bin/ftpsh
    ftp:*:1004:1005::/home/ftp:/usr/local/bin/bash

    No I have tried to change to /bin/bash, tried to change the :ffocus
    that is listed where you have :user - to user.
    Also I can't find "ftpsh" file/prog anywhere on the server !

    Regards Jerry

  13. #13
    Member
    Join Date
    Apr 2003
    Posts
    223

    Default

    The thing i see wrong with that one is there is no encrypted password:

    Code:
    girdles:34DNNAvbO0kXY:1017:1018:ffocus:/usr/home/admin/accounts/ffocus/public_html/girdles:/bin/ftpsh
    ffocus_logs:$1$9sDLUGAG$Ga57MmATrzx0j4zDTu9cn/:1017:1018:ffocus:/usr/local/apache/domlogs:/bin/ftpsh
    lottis:63MfCV7jCmsZw:1017:1018:ffocus:/usr/home/admin/accounts/ffocus/public_html:/bin/ftpsh
    ffocus:no password encrypted here:1017:1018::/usr/home/admin/accounts/ffocus:/bin/ftpsh
    ftp:*:1004:1005::/home/ftp:/usr/local/bin/bash
    I am not sure, but i do believe all encrypted passwords have to have the $ in front of it. ( i am not sure )

    If you want, remove the girldles and lottis lines.

    Ending up with ( bold text is encrypted pass ):

    Code:
    ffocus_logs:$1$9sDLUGAG$Ga57MmATrzx0j4zDTu9cn/:1017:1018:ffocus:/usr/local/apache/domlogs:/bin/ftpsh
    ffocus:$1$9sDLUGAG$Ga57MmATrzx0j4zDTu9cn/:1017:1018::/usr/home/admin/accounts/ffocus:/bin/ftpsh
    ftp:*:1004:1005::/home/ftp:/usr/local/bin/bash
    If i am wrong, please correct me.

  14. #14
    Member
    Join Date
    Apr 2003
    Posts
    223

    Default

    ftpsh is just to let proftpd know that they can FTP because if that is set to /bin/nologin or /bin/false it wont allow the user to login.

  15. #15
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Thanks for your help - But the ffocus account is the only one working. That is the main account - all other accounts is
    not working. And I need to have the password for ffocus
    when I login so I guess theres a passwrod somewhere :-).

    This applies to all my domains.
    Main/Setup account works but not the rest that we setup ourself.

Similar Threads & Tags
Similar threads

  1. Windoz VISTA and FTP, problems, problems, problems
    By jols in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-31-2007, 08:40 PM
  2. FTP logon problems
    By Derekyiwu in forum New User Questions
    Replies: 3
    Last Post: 11-09-2007, 08:58 PM
  3. ProFTPd Cpanel FTP Manager Problems + More FTP Problems
    By demine0 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-18-2004, 01:15 PM
  4. logon to whm
    By ClayW in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2004, 01:55 AM
  5. no logon prompt
    By omoriginals in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-02-2004, 01:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube