Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    cPanel Partner NOC This forum account has been confirmed by cPanel staff to represent a vendor.cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Location
    San Clemente, Ca
    Posts
    703

    Default created ftp user, user cant log in.

    client on one of our dedicated servers only has one domain on his server (his own) and is trying to create ftp users for his developers. I created a test one to see if i could log in and it didnt work.

    Whats weird is that /etc/proftpd.conf looks pretty basic, it doesnt look like it\'s been updated at all. I\'m assuming their should be a seperate vhost for this domain right? this is what it looks like


    DisplayConnect /etc/issue.net

    ServerName \"ProFTPD\"
    AuthUserFile /etc/proftpd/passwd.vhosts
    LogFormat BytesLog \"%b\"
    ServerType standalone
    DeferWelcome off
    DefaultServer on
    DefaultRoot ~ !wheel
    Port 21
    Umask 022
    User nobody
    Group proftpd
    <Directory />
    AllowOverwrite on
    </Directory>
    <Anonymous ~ftp>
    UseFtpUsers on
    RequireValidShell off
    User ftp
    Group ftp
    UserAlias anonymous ftp
    <Limit LOGIN>
    AllowAll
    </Limit>
    MaxClients 10
    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    <Limit WRITE>
    DenyAll
    </Limit>
    </Anonymous>



    I checked perms on their home dir and it looks good. read perl all accross the world and they own the dir.

    Anybody have a fix for this.
    Shaun Reitan
    NDCHost.com - cPlicensing.net - ProVPS.com
    Contact us for your cPanel Licensing needs! We Price Match, We provide Support, We take care of our customers!

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    What is in /var/log/messages , during the login failure?
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  3. #3
    cPanel Partner NOC This forum account has been confirmed by cPanel staff to represent a vendor.cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Location
    San Clemente, Ca
    Posts
    703

    Default

    well when i try to log in as ocshaun i get this

    Jan 28 17:22:00 dotsperinch proftpd[1484]: dotsperinch.ocservers.net (216-73-111-2.ocdc-01.net[216.73.111.2]) - no such user \'ocshaun\'


    and when i try to log in as ocshaun@dotsperinch.com i get this.

    Jan 28 17:22:21 dotsperinch proftpd[1484]: PAM-listfile: Couldn\'t open /etc/ftpusers
    Jan 28 17:22:21 dotsperinch PAM_pwdb[1484]: check pass; user unknown
    Jan 28 17:22:22 dotsperinch proftpd[1484]: dotsperinch.ocservers.net (216-73-111-2.ocdc-01.net[216.73.111.2]) - PAM(ocshaun@dotsperinch.com): User not known to the underlying authentication module.

    /etc/ftpusers doesnt exist also.
    Shaun Reitan
    NDCHost.com - cPlicensing.net - ProVPS.com
    Contact us for your cPanel Licensing needs! We Price Match, We provide Support, We take care of our customers!

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    Hm..................
    I think you have to use the username@domain.com login scheme if you don\'t have any virtual hosts configured within your /etc/proftpd.conf - that is, all of your shared IP users (which is all you have on this particular machine, right)? ... authenticate off the same file (/etc/proftpd/passwd.vhosts).... so, you need to make sure you provide the domain name after every ftp user ID as well.

    Actually the ftp user is not complete WITHOUT the domain included, if you don\'t have any domains bound to unique IPs on this system.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  5. #5
    cPanel Partner NOC This forum account has been confirmed by cPanel staff to represent a vendor.cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Location
    San Clemente, Ca
    Posts
    703

    Default

    this domain is on a unique ip, and i tryed both. i pasted the log of trying to log in with both.
    Shaun Reitan
    NDCHost.com - cPlicensing.net - ProVPS.com
    Contact us for your cPanel Licensing needs! We Price Match, We provide Support, We take care of our customers!

  6. #6
    Member Nico's Avatar
    Join Date
    Dec 2001
    Location
    Edmond, OK
    Posts
    233

    Default FTP

    We are having a similar problem with anonymous FTP. Everthing is enabled in Cpanel.
    The logs report:

    - FTP session opened.
    no such GID '50'
    - no such group 'ftp'
    OK, resolved the user/group error by adding 'ftp:x:50:' to /etc/group.

    This is still a problem:
    - error: user ftp home directory is NULL or &&
    Killed

    On a roll here - Had to add 'ftp:x:14:50:FTP User:/home2/steve/public_ftp:' to their file in /etc/proftpd

  7. #7
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    u got a fix for this anon. ftp problem?

  8. #8
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    i wonder if it has anything to do with the new trusted users feature dark orb added to WHM

  9. #9
    Member
    Join Date
    Aug 2003
    Posts
    70

    Default

    Mine is broken too with the same error:

    "PAM-listfile: Couldn't open /etc/ftpusers"

    -ee99ee

Similar Threads & Tags
Similar threads

  1. How to change how subdomain FTP user names are created?
    By mino in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-23-2005, 11:12 PM
  2. User unable to log into created email accounts
    By timdorr in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-03-2005, 09:48 PM
  3. User created FTP accounts do not work
    By pmayo in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-28-2004, 10:08 PM
  4. User cannot log in with FTP accounts...
    By brianteeter in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-09-2002, 03:52 PM
  5. ftp user unable to login after created
    By AlaskanWolf in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 11-27-2001, 06:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube