Собрал proftpd, создал пользователя aftpusr с шелом /bin/ftp (/bin/false) группа ftp, папка /home/ftp. Акаунт работает.
Конфиг proftpd.conf ServerName "FTP server" ServerType standalone DefaultServer on
Port 21
Umask 022 UseReverseDNS off IdentLookups off
MaxInstances 30
User ftp Group ftp
AllowOverwrite on
# Bar use of SITE CHMOD by default <Limit SITE_CHMOD> DenyAll </Limit>
<Anonymous ~aftpusr> User aftpusr Group ftp AnonRequirePassword on MaxClients 4 UserAlias anonymous aftpusr # DisplayLogin /usr/local/etc/welcome.msg # DisplayFirstChdir .message
<Limit WRITE> Deny from all </Limit> <Directory incoming> <Limit READ WRITE DIRS STOR CWD CDUP> AllowAll </Limit> </Directory> </Anonymous>
Запускаю.Потом ftp 127.0.0.1 получаю: Connected to 127.0.0.1. 220 ProFTPD 1.3.0rc1 Server (FTP server) [127.0.0.1] 500 AUTH not understood 500 AUTH not understood KERBEROS_V4 rejected as an authentication type Name (127.0.0.1:none): anonymous 421 Service not available, remote server has closed connection Login failed. No control connection for command: No such file or directory