LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   ProFTPD directive configuration question (http://www.linuxquestions.org/questions/linux-general-1/proftpd-directive-configuration-question-173921/)

orange400 04-23-2004 11:12 PM

ProFTPD directive configuration question
 
I posted this as a reply in one of my threads but it became a bit off-topic so I thought I'd just start this one. So here's my q:

I have a /users directory that is actally hdb1. On this drive, there are many directories, each named after a username. And following this, there's an anonymous directory too, for user anonymous. In each user directory (excluding anonymous), there's a pub directory for public files. This directory should grant read-only access to user anonymous. They would access the pub directories of each user via links in the anonymous directory. These links would be treated as folders.

How would I be able to get this one going?

mangeli 04-24-2004 07:02 PM

From the ProFTPD Pages... (google for proftpd)
Quote:

###########################################
#
# Anonymous FTP
#
###########################################

<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 100
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>

This is the anonymous FTP section. It includes directives that tell the FTP server to accept anonymous as a valid alternative to the ftp username. None of the usernames require a valid password to be entered. Writing anywhere in the ftp directory structure is explicitly denied, although this could be overwritten for specific directories with a <Directory> sub-section.

orange400 04-24-2004 07:17 PM

Thank you, but that's not really what I'm looking for though. I've tried multiple setups like that with no luck - my setup is a little more specific.


All times are GMT -5. The time now is 07:48 PM.