LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2005, 10:41 PM   #1
bford
LQ Newbie
 
Registered: Nov 2004
Location: London, Ky
Distribution: Trustix Secure Linux 2.2
Posts: 14

Rep: Reputation: 0
ProFTPd and Trustix 2.2


I need to setup a FULL anonymous FTP with ProFTPd, here's my .conf file, it allows me to login, but it accepts NO passwords at all. Any ideas?

# ProFTPd configuration file

# Daemon configuration
ServerName "FTP Server"
ServerType standalone
DisplayConnect /etc/issue.net
AllowOverride off
AllowOverwrite off
AllowForeignAddress off
DeleteAbortedStores on
DefaultServer on
DeferWelcome on
ServerIdent off
UseReverseDNS on
IdentLookups off
TimesGMT off
UseGlobbing on
MultilineRFC2228 on
ShowSymlinks off
RootLogin off
RequireValidShell no
DenyFilter \*.*/
ListOptions +R strict

# Lockdown connections and connection attemps
MaxClients 3 "The maximum number of allowed users (%m) are already connected."
MaxInstances 3
MaxClientsPerUser 3 "The maximum number of clients (%m) for this user already connected."
MaxHostsPerUser 3 "The maximum number of hosts (%m) for this user already connected."
MaxClientsPerHost 1 "The maximum number of clients (%m) from your host are already connected."
MaxLoginAttempts 1

# Lockdown TCP stack
Port 21
PassivePorts 63570 63750
SocketOptions rcvbuf 8192
SocketOptions sndbuf 8192
CommandBufferSize 512
tcpBackLog 5
tcpNoDelay on
TransferRate APPE,STOR 12000
TransferRate RETR 12000

# Log format and location
LogFormat default "%t %h %a %s %m %f %b %T \"%r"\"
ExtendedLog /var/log/proftpd ALL default
SystemLog /var/log/proftpd ALL default
TransferLog /var/log/proftpd ALL default

# Limit login times and timeouts to drop dead clients.
TimeoutLogin 60
TimeoutIdle 60
TimeoutNoTransfer 60
TimeoutStalled 60
TimeoutSession 28800

# Setup fake properties
DirFakeGroup on ftp
DirFakeUser on ftp
DirFakeMode 0400

# User Access Control
<Limit LOGIN>
Deny All
</Limit>

# Anonymous configuration
<Anonymous /storage0>
User ftp
Group nogroup
UserAlias anonymous ftp
HideNoAccess on
<Limit LOGIN>
Allow All
</Limit>
<Limit ALL>
Deny All
</Limit>
<Limit PWD CWD LIST RETR>
Allow ALL
</Limit>
<Directory /storage1>
Umask 022 022
<Limit MKD STOR>
Allow All
</Limit>
</Directory>
</Anonymous>

Last edited by bford; 03-09-2005 at 03:59 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Trustix 3.0 jshanman Linux - Distributions 3 10-12-2005 07:47 AM
Trustix linux Red Squirrel Linux - Distributions 0 08-19-2005 09:37 PM
Trustix (tsl) xof7 Linux - Newbie 23 05-23-2005 07:10 PM
CP+ on Trustix 2.2 CD bford Linux - Software 0 03-08-2005 10:43 PM
I cant su - Trustix 2.2 ]SK[ Linux - Software 5 01-29-2005 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration