LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-03-2006, 10:28 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, 03:32 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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
How do I set up anonymous access in ProFTPD? shingalated Linux - Networking 1 08-03-2006 06:04 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 AM.

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