LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2005, 10:50 AM   #1
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
vsftpd, firewall, and multiple users?


first question:

i can ftp into my computer from another machine just fine. the only problem is i have to drop the firewall in order to do it. when the firewall is on, i can not log in even with pots 20-21 open. when i drop the firewall i can connect. when the firewall is dropped and i log in another port opens up way up in the 20000 range. this seems to be relativly random. since ports up to 1024 are for system processes, would it be a good idea to open all ports above 1024, so that the random ports needed for ftp can be accessed? is there a better way to do it? i know it is not good to have open ports but how much of a security risk is it to have all ports above 1024 open? (by open i mean add a rule to firestarter to allow connections through the ports)

second question:

i want to have 3 areas in my ftp server but limit access to them depending on the user. for example i would have /home/ftpusers as the main area and under that i would have three folders. /home/ftpusers would be accessable to all users with a password and username. but the three folders would be limited to certain users. what i am thinking of doing is making localuser accounts all with the home directory of /home/ftpusers ( i will jail everyone, in thier home directory) and make all those users part the group ftpusers1. then i would set the group permission of the /home/ftpuser folder to 777. what an easy effective way to limit access to the three folders under /home/ftpusers? should i create three seperate groups and set ownership of the folder to each group and then add users to those groups?


i am using vsftpd.

thanks in advance
 
Old 03-26-2005, 07:59 PM   #2
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Original Poster
Rep: Reputation: 31
i played around with the permissions and got it to work just like i said in 2.

and there was some oter problem causing the behavior in question 1. it wasnt the firewall causing it. it was something in the conf file.

disregard the questions.

thanks
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
Multiple users with the same name...users command buldir Linux - General 2 08-30-2004 04:34 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 09:24 PM
One shared folder for multiple ftp users -- vsftpd rover Linux - Networking 0 06-17-2004 06:07 AM
vsftpd - setting up users Korff Linux - Networking 7 05-31-2003 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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