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.

pure-ftpd: non-cPanel users can't log in to ftp service

Discussion in 'General Discussion' started by ReiJu, Apr 23, 2009.

  1. ReiJu

    ReiJu Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    6
    Hi, I recently install cPanel on RHEL and CentOS (both of them use the latest version). But I found something weird, non-cpanel users cannot login to ftp server. Users created using cpanel scripts (and from WHM) are doing fine, but not with users created with usual command (useradd).

    The ftp sessions failed with "530 Login authentication failed".

    Is there any suggestions? Maybe I have to change some configs?
     
  2. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    I've not tried tested this, however, you should just be able to edit the pure-ftpd.conf file and uncomment this line:

    # PAMAuthentication yes

    Restart the service once done of course.
     
  3. ReiJu

    ReiJu Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    6
    Enabling PAMAuthentication doesn't work. I tried to enable UnixAuthentication and it works great. Thanks.

    One thing bothers me. This "enabling UnixAuthentication" is not needed on one server, but I have to enable it on another. I don't remember messing up with PAM or passwd authentication.

    Any scenario as to why this happened? Or maybe you need to look at some configs?
     
Loading...

Share This Page