The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP accounts don't work.

Discussion in 'General Discussion' started by wills, Oct 17, 2004.

  1. wills

    wills Well-Known Member

    Joined:
    Jan 29, 2003
    Messages:
    202
    Likes Received:
    1
    Trophy Points:
    18
    I found out that when our clients create additional FTP accounts and map them to any directory the server rejects the username and password.

    The FTP server is running proftpd right now, I switched it to pure-ftpd and the usernames started to work. Any ideas?
     
  2. Mike2Own

    Mike2Own Active Member

    Joined:
    Apr 1, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    edit proftpd.conf and remove all of the virtual host entries, restart ftpd
     
  3. wills

    wills Well-Known Member

    Joined:
    Jan 29, 2003
    Messages:
    202
    Likes Received:
    1
    Trophy Points:
    18
    awesome! Thanks that worked.
     
  4. willnot

    willnot Registered

    Joined:
    Oct 17, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Where would I find that to edit? I know , stupid question....
     
  5. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    In /etc/proftpd.conf
     
  6. JP-HOST

    JP-HOST Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Roscoe, IL, USA
    I just had this same problem after the update to 9.9.8-C66 last night. I fixed it by running /scripts/ftpup --force
     
    #6 JP-HOST, Nov 2, 2004
    Last edited: Nov 3, 2004
  7. skanwhost

    skanwhost Member

    Joined:
    Dec 24, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    unable to ftp

    I also changed to pure-ftpd and now the username and passwords are working again..


    Is there a problem with using pure-ftpd instead of proftpd?

    What has caused this problem with ftp user access and what can I do to fix it? I have already tried running ' run /script/upftp --force ' but received an error.

    Any help would be greatly appreciated.

    Thanks
     
  8. JP-HOST

    JP-HOST Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Roscoe, IL, USA
    What error did you get?

    Did you run /script/upftp --force or /scripts/upftp --force
     
  9. exo

    exo Member

    Joined:
    Oct 2, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    or /scripts/ftpup --force ;)
     
  10. JP-HOST

    JP-HOST Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Roscoe, IL, USA

    exo is right, a little typo on my part.... sorry :eek:
     
  11. challii

    challii Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    What is the chmod value od /etc/proftpd/passwds.vhosts ? Just i had to chmod it (chmodded to 777 at mo to make sure) because no addon accounts would work.

    What should this be chmodded to?

    edit: Also should we be worried about "User not known to the underlying authentication module." in our logs? (caused by addon ftp accounts)
     
  12. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Isn't /etc/proftpd/passwds.vhosts suppose to be owned by root:proftpd ? Whenever I create an FTP account through a user's control panel, the file is reset to root:root ownership. I have run /scripts/ftpup --force and it does not seem to help. I'm running ProFTPD version 1.2.10 and CPanel 9.9.8 Current 66.
     
    #12 sparek-3, Nov 3, 2004
    Last edited: Nov 3, 2004
  13. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    Confirmed.. will be resolved in the next EDGE/CURRENT builds within 30 min.
     
  14. challii

    challii Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    is this why we were getting vhost errors? what chmod mode should it be?!
     
  15. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    chown root:proftpd /etc/proftpd/passwd.vhosts

    (only affects the latest EDGE/CURRENT builds)

    if you are running RELEASE/STABLE you are not affected
     
  16. Gnomercy

    Gnomercy Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    So... when will this make it into a release/stable build?
     
Loading...

Share This Page