LinuxQuestions.org
Help answer threads with 0 replies.
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 12-22-2004, 06:34 PM   #1
kruserm
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
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>
 
Old 12-22-2004, 10:36 PM   #2
murugesan
Member
 
Registered: May 2003
Posts: 149

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



HTH
 
Old 12-23-2004, 09:47 AM   #3
kruserm
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 12-28-2004, 09:45 AM   #4
kruserm
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Does anyone have any ideas on this?
 
Old 01-04-2005, 08:09 AM   #5
kruserm
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ProFTPD directory link fail blither Linux - Software 0 09-22-2005 03:57 PM
Samba access by Windows users locking out directory access with Konqueror harry_fine Suse/Novell 1 12-18-2004 05:33 AM
RW access to a directory via FTP using ProFTPD borbzz Linux - Software 4 05-11-2004 10:23 PM
Proftpd, Anonymous Access, Directory Authentication bskouby Linux - Newbie 0 03-23-2004 03:08 PM
Proftpd - See directory, not files Wynd Linux - Software 1 12-10-2003 08:11 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration