LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2005, 11:25 AM   #1
DataCorrupt
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
FTP problem


I am trying to set up my Fedora Core 3 system as a FTP server. What I need is several levels of access so some users will be higher in the list and will be able to acess users files below them. But right now when i create a User account and test thier login they have access to the root directory. i can't figure out what I'm doing wrong. I was told to set the chroot_local_user to YES which will lock the user in it's home directory which defeats the purpose of the levels. Any ideas?
 
Old 08-04-2005, 12:06 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Try something like this- Lock the users, but not in their home directories. Create the lock in a location like /var/ftp/pub/higher/lower. Give those with access to the lower group whatever permissions they need for the lowest directory - read, write maybe. They shouldn't need execute most likely. Make the people with access only to the lowest level have username=low group=low. Set the permissions for the low directrory to be 666, everyone has read and write access. Also, make the owner of that low directory low:low. Then do something similiar for the higher directory. Make them user=high group=high, set the permissions to 660, and the owner of the higher directory to high:high. That will block the people in low from even seeing it, but allows the people in high to see both low and high. How specifically to accomplish the lock depends on which FTP server you are doing. VSFTP is the best, no question about that. It rocks the house.

Peace,
JimBass
 
  


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
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 05:35 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM
FTP problem rwelch Linux - Networking 5 03-14-2003 11:55 PM
ftp problem robmcw Linux - Newbie 8 03-11-2003 08:16 PM
FTP problem DigiCrime Linux - Software 1 01-19-2003 10:26 AM


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