LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-25-2007, 04:20 PM   #1
tbuss
LQ Newbie
 
Registered: Mar 2007
Location: TN
Distribution: Edgy Eft
Posts: 4

Rep: Reputation: 0
FTP server config Ubuntu proftpd


I'm totally new to linux and I thought this whole FTP thing would really be nice for my family. I don't have a lot of experience with setting up a ftp server or Linux. I installed a fresh copy of proftpd and the config file has not ben altered.

This is what I had in mind for an FTP server:

Set up a local directory to share files with family
Limited access to only those authorized (no anonymous)
Allow family members to download/upload files
Family members cannot write or delete files I publish
Max 10 family members (10 personal accounts for uploads)
Family members have full permission for files in their accounts

Is this something that can be accomplished? If anyone has any advice for a beginner please post a reply, Thank You.
 
Old 03-27-2007, 09:41 AM   #2
catworld
Member
 
Registered: Nov 2004
Location: Horseheads, New York
Distribution: Mandriva 2010.1 / KDE 4.5.2, Slax, Knoppix, Backtrack & etc...
Posts: 198

Rep: Reputation: 36
see webmin

I am running precisely what you want at the moment, I always use webmin to set it up. It's a fairly comprehensive GUI to touch the config files with. Two options you want are "use ftpusers=yes" and to make one of the legit users on the machine an alias for ftp logins.

The ftpusers file (/etc/ftpusers) is a list of people who can NOT log in. "Anonymous" is usually in it by default, but you can easily add it with the webmin interface if it's not in yours.

If you don't have webmin, get it, you'll be pleasantly surprised. You can configure all manner of servers/services with it, like setting up samba shares, (windows style file/print sharing) .scheduling cron jobs to do automated backups with rsync... all sorts of neat tricks. Check it out. And good luck. My proftpd shuts itself down every Sunday for some reason. I had to put the startup script in a cron job to keep it running.

some comments between:

Quote:
Originally Posted by tbuss
I'm totally new to linux and I thought this whole FTP thing would really be nice for my family. I don't have a lot of experience with setting up a ftp server or Linux. I installed a fresh copy of proftpd and the config file has not ben altered.

This is what I had in mind for an FTP server:

Set up a local directory to share files with family

---> you can set a directory and limit all access to this directory alone.

Limited access to only those authorized (no anonymous)

--->see above about "ftpusers" file

Allow family members to download/upload files

--->can do, but the next request will mean that once uploaded, they can't touch them (except to view/download) afterward

Family members cannot write or delete files I publish

--->allow overwrite=no in the config file

Max 10 family members (10 personal accounts for uploads)

--->to do this, make a user account on the machine and limit each user to their account (directory) only. You, as the machine's admin, will have access to all, the users will only see their account, but then this eliminates a "public" forum sort of flavor to the whole deal. Perhaps you could move files around from account to account in order to share more widely.

Family members have full permission for files in their accounts

--->as above, with a valid user account on the machine, once they access it, it's all theirs, they can read/write/delete to their heart's content.

Is this something that can be accomplished? If anyone has any advice for a beginner please post a reply, Thank You.
The best advice one can give any newcomer is WEBMIN!

cat
 
  


Reply



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 - 500 FTP server shut down wwwjscom Linux - Software 0 12-05-2005 11:58 PM
proftpd (ftp server) Adrian13 Linux - Software 3 10-18-2004 04:22 PM
About Proftpd ftp server config tommyliu Linux - Newbie 2 06-13-2004 11:39 AM
bandwidth control under proftpd ftp server adrianmak Linux - Networking 1 01-02-2003 03:54 PM
Setting up an FTP Server using ProFTPD Torm3nt Linux - Newbie 5 12-11-2002 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:04 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