i install proftpd ./configure 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 adminroftpd files AuthUserFile /usr/local/etc/proftpd.passwd AuthGroupFile /usr/local/etc/proftpd.group PidFile /usr/local/etc/proftpd.pid 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> DenyAll </Limit> 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:192.168.250.100 [::ffff:192.168.250.100] to ::ffff:85.143.133.8:21 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.
Is soroushir listed in /etc/passwd? What's in /usr/local/etc/proftpd.passwd and /usr/local/etc/proftpd.group?
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 soroushir:$1$ADVjItJ$MEh/.FSpyeZmy2U4HQGPP0:1010:1010::/backup/soroush:/bin/bash content of /usr/local/etc/proftpd.group proftpd:*:666: wheel:x:1010:soroushir 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 then ./contrib/ftpasswd --group --gid=1010 --name=root --member=soroushir --file=/usr/local/etc/proftpd.group sorry for my bad English
oh my ALLAH it is solve see the content of proftpd.group i copy line 1 and change it to soroushir:*:1010: now it works dear falko thank you for your reply if you don't ask content of proftpd.group i cant solve it