You are not logged in.

#1 2011-09-24 19:01:34

E_user
Member
From: Prague
Registered: 2011-09-22
Posts: 22

Problem with default ProFTPd config

Hello,

I have a problem with ProFTPd configuration. I belive default config is good for me, but anonymouse login doesnt work.
Ideally I need to connect anonymous to /home/public folder.

My config:

ServerName                      "ProFTPD Default Installation"
ServerType                      standalone
DefaultServer                   on
Port                            21
UseIPv6                         off
Umask                           022
MaxInstances                    10
User                            nobody
Group                           nobody
DefaultRoot                     ~
AllowOverwrite                  on
SystemLog                       /var/log/proftpd-error.log

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

<Anonymous ~>
  User                          ftp
  Group                         ftp
  UserAlias                     anonymous ftp
  MaxClients                    10
  #DisplayLogin                 welcome.msg
  #DisplayChdir                 .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>

cat /etc/passwd | grep ftp
ftp:x:14:11:ftp:/home/public:/bin/false

Something from log.

USER ftp (Login failed): Invalid shell: '/bin/false'

Please, help me. thanks


If I change passwd to ftp:x:14:11:ftp:/home/public:/bin/bash - anonymous can connect, but is it normal? I meen for others it works(?) by default with /bin/false...

Last edited by E_user (2011-09-24 19:25:52)

Offline

#2 2011-09-24 19:25:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with default ProFTPd config

See the bottom of the wiki page: https://wiki.archlinux.org/index.php/Pr … _to_Follow

When pasting code, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through (for longer listings).

Offline

#3 2011-09-24 19:29:35

E_user
Member
From: Prague
Registered: 2011-09-22
Posts: 22

Re: Problem with default ProFTPd config

karol wrote:

See the bottom of the wiki page: https://wiki.archlinux.org/index.php/Pr … _to_Follow

When pasting code, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through (for longer listings).

I remember this. Thank you.

Offline

Board footer

Powered by FluxBB