LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Directory Access in proftpd (https://www.linuxquestions.org/questions/linux-software-2/directory-access-in-proftpd-269342/)

kruserm 12-22-2004 06:34 PM

Directory Access in proftpd
 
I am a Linux newbie and have searched the forums and can not find anything that helps me, so I have a question about configuring proftpd 1.2.10. I have proftpd configured and running on FC3 and can jail users to their home directory but I want to give access to a shared directory outside their home directory. I realize it is probably something really simple that I am missing so any help would be appreciated. Also, if there is any other info. you need just let me know.

Here is my conf file:

ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User ftpnobody
Group ftpnogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>

#Global Settings
<Global>
DisplayLogin welcome.msg
DisplayFirstChdir readme

# Normally, we want files to be overwriteable.
AllowOverwrite yes

</Global>

<Directory /home/ftp/shared/*>
<Limit ALL>
AllowUser userA
AllowUser userB
DenyAll
</Limit>
</Directory>

murugesan 12-22-2004 10:36 PM

http://www.devshed.com/c/a/Administr...ith-proFTPD/6/



HTH

kruserm 12-23-2004 09:47 AM

OK, I had a little trouble getting your link to work, it came saying the article cannot be found, but I searched the site for proftpd and found an article about configuring proftpd, I don’t know if it is the same article but here is the link.

http://www.devshed.com/c/a/Administr...ith-proFTPD/1/

Anyway, I read through the article and found the section about “AnonRequirePassword on” but it says to put this inside the Anonymous section. I do not want to allow anonymous logins. So I am still a little confused on what exactly I should have.

kruserm 12-28-2004 09:45 AM

Does anyone have any ideas on this?

kruserm 01-04-2005 08:09 AM

I found the answer to my question and wanted to finish this post. Look at the link for the Filesystem tricks.

http://castaglia.org/proftpd/doc/con...TO-Chroot.html


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