LinuxQuestions.org
Review your favorite Linux distribution.
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 07-17-2004, 12:09 AM   #16
dsheller
Member
 
Registered: Jan 2003
Posts: 56

Original Poster
Rep: Reputation: 15

Alright well I fixed that, MTU problem =/

Anyway, after hour its on i see this in the out put of "netstat -a | grep ftp"

tcp 0 0 192.168.123.101:ftp user-10lfbu1.cable:3653 FIN_WAIT2

Should this be something I am to be concerned of? I haven't given a UN/PASS to anyone yet... =/
 
Old 07-17-2004, 04:59 AM   #17
padonker
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
Looks like you have a guest You DID turn off anonymous access, right?
 
Old 07-17-2004, 11:26 AM   #18
dsheller
Member
 
Registered: Jan 2003
Posts: 56

Original Poster
Rep: Reputation: 15
Yea anonymous access is off. I have the router before it gets to the box setting up the box as DMZ, but shouldnt the linux firewall deny everything but 20 and 21?
 
Old 07-17-2004, 06:16 PM   #19
padonker
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
if the only thing behind your firewall is ftp then 20 and 21 is the only ports you need to have opened
 
Old 07-17-2004, 10:24 PM   #20
alexr186
Member
 
Registered: Jul 2003
Location: Maine, USA
Distribution: Suse 9.1 Pro
Posts: 122

Rep: Reputation: 15
i just setup vsftpd myself today, but it looks like u guys have it undercontrol. Yes i need port 20 and 21 open on my firewall and forwarded.

I don't know if this could but u could have one user that it's home dir is the music file.
 
Old 07-18-2004, 05:28 AM   #21
padonker
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
Quote:
I don't know if this could but u could have one user that it's home dir is the music file.
sorry, but I dont understand your question. Or is it a remark?
 
Old 07-23-2004, 11:56 AM   #22
mjenkins
Member
 
Registered: Jun 2003
Location: kc
Distribution: fc2
Posts: 52

Rep: Reputation: 15
mybox# mount --bind /var/ftp/music /home/userA/music

this is a dangerous way to do this because all users have the capability
to delete files from your /var/ftp/music folder.

mount --bind can only be issued by root so the folder is not ro, it has full access...

i am searching for a way to do this also.

i think that this effect has been submitted and is actually considered a bug in the current
kernel?

i wish there was a way to enable symlinks but still use the user jail or do a
mybox# mount --bind -ro /var/ftp/music /home/userA/music

but when you issue this command i get:
mount: can't find /home/userA/music in /etc/fstab or /etc/mtab
 
Old 08-10-2004, 12:25 PM   #23
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Pardon my lack of understanding (still new), could you do a hard link as appossed to mount --bind ? I believe this should work so long as they're on the same file system (lack of experience here). On the other hand, if they are on different filesystems, you could have the true music dirrectory located at /home/music, do hard links to it, and mount that on top of /var/ftp/music or whatever.

Besides, why are you saying that mounting into the users home dirrectory means you cannot restrict read/write access. Couldn't you have a folder inside their dirrectory that they don't own or have full access to?

Once again, I've bassed this on how I belive the system is set up, not necisarily upon truth. If you tear my post to shreads, then I'll just be happy to have learned better
 
Old 10-13-2004, 01:11 PM   #24
toejam
LQ Newbie
 
Registered: Apr 2004
Distribution: WBLE r3.0
Posts: 22

Rep: Reputation: 15
hopefully this will help you dsheller although I would imagine by now you've found a solution.

http://www.linuxquestions.org/questi...ghlight=vsftpd

I too would like to get this properly setup on my server.


Last edited by toejam; 10-13-2004 at 01:13 PM.
 
Old 03-01-2006, 10:48 AM   #25
mdm102
LQ Newbie
 
Registered: Mar 2006
Distribution: Debian Sarge
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by mjenkins
mybox#
i wish there was a way to enable symlinks but still use the user jail or do a
mybox# mount --bind -ro /var/ftp/music /home/userA/music

but when you issue this command i get:
mount: can't find /home/userA/music in /etc/fstab or /etc/mtab
try so.. it completely works!

mount --bind -r /var/ftp/music /home/userA/music
 
Old 03-01-2006, 12:52 PM   #26
mjenkins
Member
 
Registered: Jun 2003
Location: kc
Distribution: fc2
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by mdm102
try so.. it completely works!

mount --bind -r /var/ftp/music /home/userA/music
thanks! that worked great!
 
Old 11-06-2010, 11:06 PM   #27
gattler
LQ Newbie
 
Registered: Nov 2010
Posts: 5

Rep: Reputation: 0
I sorry to revive this thread but I looked for an answer and found this thread. I think it's important to note that you can jail root a user to a specific directory with vsftp's directive local_root.

Code:
local_root=/var/www/html/websiteName
I wrote about this here.

Last edited by gattler; 11-06-2010 at 11:08 PM.
 
  


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
VSFTPD Configuration bharaniks Linux - Security 2 10-16-2005 11:58 PM
VSFTPD Configuration Help Hexadecimal Linux - Networking 8 08-10-2005 10:12 PM
vsftpd configuration help. jsbush Linux - Newbie 3 10-25-2003 05:40 AM
vsftpd configuration pazvant Linux - Security 1 10-22-2003 01:05 PM
vsftpd configuration help soonerjim Linux - Software 6 05-22-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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