LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-08-2006, 01:44 PM   #1
crwdawg
LQ Newbie
 
Registered: Jul 2004
Posts: 20

Rep: Reputation: 1
FTP server best practices


Let me start by saying that I know sftp is better and more secure than FTP and should be used instead. That being said, I am implementing a small FTP server for a few users, and several different clients to be able to upload files. I'd like to have as little administration overhead as possible. Here is what I would like to have happen.

User requests new FTP server. Network admin logs in, uses adduser to create a new account for their client to upload files. That much I know........

I'd like one account that if the user logs in, they see all other user folders, and have permissions to copy/delete files. I figure I would setup a ftpadmin account with a home folder of /home and set group on /home to root.ftpadmin. I would then chgrp all of the user folders to ftpadmin so it is owned by the user, and the ftpadmin group. Then I would set folder permissions to 770 so the user and anyone in the ftpadmin group could read/write to it, but no-one else. This gives the ftpadmin group permissions to see all files and delete them as well.

Is there an easier way to do this? End user stuff must be monkey proof, admin stuff should be easy enough for a Windows network admin to understand.
 
  


Reply

Tags
ftp, permissions, umask


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
Best Practices in Remote administration in Redhat 8, Terminal Server clone? sboscarine Linux - General 3 02-09-2003 03:39 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM


All times are GMT -5. The time now is 10:42 PM.

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