You are not logged in.

#1 2007-09-16 02:38:47

zellux
Member
Registered: 2007-09-12
Posts: 6

Need help on setting up proftpd

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

#2 2007-09-16 02:54:30

zellux
Member
Registered: 2007-09-12
Posts: 6

Re: Need help on setting up proftpd

Got it! All i need to do is just
echo /bin/fales >> /etc/shells

^_^

Offline

#3 2007-09-16 13:40:23

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: Need help on setting up proftpd

You could also add

RequireValidShell             off

into Anonymous section in configuration file.

Offline

Board footer

Powered by FluxBB