proftpd tease me

Discussion in 'Server Operation' started by e-mahdi, May 4, 2009.

  1. e-mahdi

    e-mahdi New Member

    i install proftpd
    make && makeinstall

    then create user for it
    my proftpd.conf

    ServerType standalone
    DefaultServer on

    # Port 21 is the standard FTP port.
    Port 21

    # Don't use IPv6 support by default.
    #UseIPv6 off

    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 002

    #add by admin:proftpd files

    AuthUserFile /usr/local/etc/proftpd.passwd
    AuthGroupFile /usr/local/etc/

    PidFile /usr/local/etc/
    ScoreboardFile /usr/local/etc/proftpd.score
    SystemLog /usr/local/etc/proftpd.syslog
    TransferLog /usr/local/etc/proftpd.xferlog

    # To prevent DoS attacks, set the maximum number of child processes
    # to 30. If you need to allow more than 30 concurrent connections
    # at once, simply increase this value. Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd).
    MaxInstances 20
    #add by admin:maximum clients can login
    MaxClients 2
    # Set the user and group under which the server will run.
    User root
    Group wheel

    DefaultRoot ~

    # Normally, we want files to be overwriteable.
    AllowOverwrite on

    # Bar use of SITE CHMOD by default
    <Limit SITE_CHMOD>

    and now when i am connect i sea this message

    no supplemental groups found for user 'soroushir'
    USER soroushir: no such user found from ::ffff: [::ffff:] to ::ffff:
    dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
    dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
    dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
    FTP session closed.
  2. falko

    falko Super Moderator ISPConfig Developer

    Is soroushir listed in /etc/passwd?

    What's in /usr/local/etc/proftpd.passwd and /usr/local/etc/
  3. e-mahdi

    e-mahdi New Member

    no , soroushir is not in /etc/passwd

    i create a user name=ftpbackup uid=1010
    /etc/passwd has this line

    ftpbackup:*:1010:1010:User &:/backup/soroush/:/bin/sh

    content of /usr/local/etc/proftpd.passwd


    content of /usr/local/etc/


    when i install proftpd one step is
    ./contrib/ftpasswd --passwd --file=/usr/local/etc/proftpd.passwd --name=soroushir --uid=1010 --home=/backup/soroush/ --shell=/bin/sh


    ./contrib/ftpasswd --group --gid=1010 --name=root --member=soroushir --file=/usr/local/etc/

    sorry for my bad English
    Last edited: May 6, 2009
  4. e-mahdi

    e-mahdi New Member

    oh my ALLAH

    it is solve

    see the content of
    i copy line 1 and change it to


    now it works

    dear falko
    thank you for your reply
    if you don't ask content of i cant solve it

Share This Page