Proftpd config

Proftpd config

Post by slaveOn » Sun, 31 Dec 1899 09:00:00



Hello!

I want to let my users at the local network to be able to connect to our
server. They haven't got any useraccounts and I don't want them to
either. That is: No ability to login via telnet or ssh, but the ability
to get read access to ~ftp and read/write to ~ftp/shared. No anonymous
logins allowed.

///Magnus

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Proftpd config

Post by Frederic Fau » Sun, 31 Dec 1899 09:00:00



>I want to let my users at the local network to be able to connect to our
>server. They haven't got any useraccounts and I don't want them to
>either. That is: No ability to login via telnet or ssh, but the ability
>to get read access to ~ftp and read/write to ~ftp/shared. No anonymous
>logins allowed.

Maybe it's changed recently, but when I first tried Proftp as an
alternative to WU-FTP, I couldn't find any sample on www.proftpd.net
or www.proftpd.org to be used after installing the RPM package (an
all-too-common experience with open-source software...)

Here's sthing to get you started. Create a user named "amy" using the
useradd command, backup /etc/proftpd.conf, and copy/paste the
following. Don't let the word "Anonymous" bother you: It doesn't mean
this account is accessible to anyone (notice the "AnonRequirePassword
on"). Maybe Proftp started as an anon FTP type of software, and they
included guest/real access later on.

ServerIdent off
ServerType inetd
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User nobody
Group nobody
DisplayConnect /etc/proftpd.welcome

<Anonymous ~amy>
        AnonRequirePassword on
        User amy
        Group amy

        MaxClients 10
        DisplayLogin .msg
        DisplayFirstChdir .message
        GroupOwner dev
        Umask 007
        HideUser root

        <Limit LOGIN>
        Order allow,deny
        Allow from 192.168.0.,.acme.com
        Deny from all
        </Limit>

        <Limit READ DIRS>
        IgnoreHidden on
        </Limit>

        <Limit DELE>
        DenyAll
        </Limit>

        <Directory /*>
        AllowOverwrite on
        </Directory>
</Anonymous>

Proftp really does offer much more than wu-ftp, and doesn't require
too much fiddling to secure, unlike its counterpart.

HTH
FF.

 
 
 

1. proftpd config problem

I have an apparent problem with my proftpd configuration
on a Slackware 8.0 distribution.
     I can ftp from the machine to another machine,
but can't ftp to the machine, not even using loopback
from itself to itself.  Even anonymous ftp fails.
     It prompts for Name and then Password, but
always replies  "530 Login incorrect." to the
entered password.
     Telnet, nfs, mail, apache, and whatever else
I tried seems to be working fine.  Also, another
partition on the machine contains an old Slackware 4.0
distribution with wu.ftpd, and that's working okay.
     I checked /etc/proftpd.conf, ftpusers, hosts.allow
and .deny, but it all looks okay to me.  Of course, I might
have missed something, and can post them in all their
gory detail in a followup if you want to see them.
     But I'm hoping maybe there's some silly/simple
oversight that explains the problem.  Thanks for any
suggestions.
--

2. Modem Configuration

3. ProFTPd config: Directory login control?

4. Mouse cursors

5. Help Needed Plz FreeBSD, ProFTPD config

6. Rec. needed for a 1280x1024 video card

7. ProFTPd config: Directory login control?

8. 4.7-DVD-ogle compile

9. Proftpd config question

10. Writing a config file for ProFTPd

11. How to config to config my linux to make my xDSL modem work

12. [PATCH] Look at drivers/media/Config.in after fs/Config.in