LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2006, 10:15 AM   #1
shingalated
LQ Newbie
 
Registered: Nov 2005
Location: Vermont
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
How do I set up anonymous access in ProFTPD?


How do I set up anonymous access using proftpd so that anyone can log in and see the directory /home/ftp/files/Anonymous, with the username anonymous and any email address for a password?
I tried the section below, but that would not work.

<Anonymous ~ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
MaxClients 10
RequireValidShell off #I personally think its safer for user ftp to have no shell, hence this directive
DisplayLogin welcome.msg
DisplayFirstChdir .message
AllowOverwrite off #If they up it, you have a right to see it before they whack it
PathAllowFilter "^[-A-Za-z0-9._+]*$" #Only allow matches to this regexp for uploads
PathDenyFilter "(^|/)[-.]" #This restricts lame leading characters on uploads that
#might otherwise be permitted by the ruleset above
AllowFilter "^[a-zA-Z0-9 .,/_+\-]*$" #Only allow COMMANDS matching this regexp
</home/ftp/files/Anonymous>
Umask 0133 0444
<Limit RMD DELE SITE_CHMOD RNFR>
DenyAll
</Limit>
<Limit CWD MKD STOR RETR STAT>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp/files/Anonymous>
Umask 0133
<Limit MKD RNFR DELE RMD SITE_CHMOD>
DenyAll
</Limit>
<Limit CWD RETR STAT>
AllowAll
</Limit>
</Directory>
</Anonymous>
 
Old 08-03-2006, 06:04 PM   #2
friskydrifter
Member
 
Registered: Jan 2003
Location: AU
Distribution: Whatever - mainly Red Hat
Posts: 32

Rep: Reputation: 15
Googled this link - I don't use ProFTP but it might help you with your question?

http://www.proftpd.org/docs/configs/anonymous.conf

Last edited by friskydrifter; 08-03-2006 at 06:08 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
anonymous proftpd gabsik Linux - Security 7 04-25-2006 07:57 PM
Anonymous access ftp using Proftpd mkabia Linux - Networking 2 12-11-2004 04:18 AM
Proftpd, Anonymous Access, Directory Authentication bskouby Linux - Newbie 0 03-23-2004 03:08 PM
Anonymous ProFTPd access tisource Linux - Networking 2 03-04-2003 09:13 PM
Proftpd Anonymous login badsvt351 Linux - Networking 2 02-15-2002 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:40 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