You are not logged in.
Hi, all
I have some trouble get my proftpd work.
When i login as anonymous user, it returns '530 Login incorrect'
Then i checked log file, it said that it was due to 'Invalid shell' error
Sep 16 10:20:21 localhost proftpd[4759] localhost.localdomain (10.x.x.x[100.x.x.x]): FTP session opened.
Sep 16 10:20:22 localhost proftpd[4759] localhost.localdomain (10.x.x.x[100.x.x.x]): USER ftp (Login failed): Invalid shell: '/bin/false'
Sep 16 10:20:22 localhost proftpd[4759] localhost.localdomain (10.x.x.x[100.x.x.x]): FTP session closed.
How to solve this problem? Sorry for my poor english.
Many thanks.
Here's my proftpd.conf
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
SystemLog /var/proftpd/syslog
Port 21
Umask 022
MaxInstances 100
TimeoutLogin 30
TimeoutIdle 120
TimeoutNoTransfer 300
<Directory /*>
AllowOverwrite off
</Directory>
<Anonymous ~>
User ftp
Group nogroup
#Umask 002
UserAlias anonymous ftp
MaxClients 10
MaxClientsPerHost 1
DisplayLogin welcome.msg
DisplayChdir .message
TransferRate RETR 1200
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>Offline
Got it! All i need to do is just
echo /bin/fales >> /etc/shells
^_^
Offline
You could also add
RequireValidShell offinto Anonymous section in configuration file.
Offline