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 11-08-2003, 09:42 AM   #1
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
Question ProFTPD


hola

I have looked around and most people seem to recomment ProFTPD for an FTP server. I have an apache webserver running and I want to create a dir for each of my friends and allow them to FTP into each of their own respective DIRs.

I'm not entirely sure how I would go about doing this. One thing I would like to change however, is the FTP access into my own home dir.

I just tried connecting with my username / pass and it took me to my home dir in linux!! How do I stop that from happening?

How would I get proftpd to jail into /home/httpd/htdocs/friendsname for example and I would be really greatful if someone could share a working config file. I don't want any anonymous access at all. Am I correct in thinking that for my friends to have access, I need to create normal user account on my system? And then how do I jail to specific dirs, instead of home dirs?

Thanks
 
Old 11-08-2003, 11:06 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
If you want to have them jailed into a particular directory, simply make that their home directory and chroot them to it.

man chroot for more details.

Either that or go read the docs over at www.proftpd.org which should explain how to setup the proftpd.conf file to configure users to certain directories, etc.
 
Old 11-08-2003, 11:09 AM   #3
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
use www.webmin.com it has an config plugin for proftpd so you can configure it very fast ...
 
Old 11-08-2003, 11:18 AM   #4
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
Thanks

Compiling webmin as I type this. Trickykid, I've checked out the proftpd site already. Will have a look through the man pages.
 
Old 11-08-2003, 12:19 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by kasperhans
use www.webmin.com it has an config plugin for proftpd so you can configure it very fast ...
I've seen you suggest this on many occasions, just wanted to point out that webmin isn't always the correct solution you know...
 
Old 11-08-2003, 01:16 PM   #6
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
Webmin seems to be a real useful tool. Thanks for showing me this. However, I must conclude that FTP serving under unix-like systems is quite poor. Well, for my level anyway. It's daft how you need to add users to the actual system in order to have them access an ftp server. I'm no fan of windows, but to be honest, the ease of use is one reason computers exist in the first place. Microsoft has over-spoonfed us.... but this is daft.

Even frontends for proftp aren't that good. In windows, setting up an ftp server is as simple as creating a user, pointing them to the directory then should start in and setting where they are jailed to. I really love linux, but I have to say... this has been just daft
 
Old 11-08-2003, 01:41 PM   #7
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
I'm gonna give vsftpd a try. Seems promising
 
  


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: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 12:06 PM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 10:51 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 11:27 AM
proftpd help strider17 Linux - Newbie 2 02-08-2004 12:44 PM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 07:56 PM


All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration