Securing VSFTPD

This is a discussion on Securing VSFTPD within the Linux Security forums, part of the System Security and Security Related category; Hello, Just looking for some friendly advice here. I am a little new to Linux so please don't blast ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-22-2005
arnie
 
Posts: n/a
Default Securing VSFTPD

Hello,

Just looking for some friendly advice here.

I am a little new to Linux so please don't blast me.

I would like to secure VSFTPD. I have two users that I have created on
my system. I want to give access to other folks for FTP but not
create accounts for them on the system.

What is the correct way to do this?

I found this link on google:http://www.netadmintools.com/art355.html

Is there any problems with what this author is recommending? I just
want to be sure if I create a user via the VSFTPD program that they
only have access to 1 directory and that is it. I do not want them
being able to see outside the one assigned directory.

What is the best way to do this?

Thanks a bunch for some help.

Arnie.

Reply With Quote
  #2 (permalink)  
Old 07-24-2005
Joachim Schipper
 
Posts: n/a
Default Re: Securing VSFTPD

arnie <arnie@hotmail.com> wrote:
> Hello,
>
> Just looking for some friendly advice here.
>
> I am a little new to Linux so please don't blast me.
>
> I would like to secure VSFTPD. I have two users that I have created on
> my system. I want to give access to other folks for FTP but not
> create accounts for them on the system.
>
> What is the correct way to do this?
>
> I found this link on google:http://www.netadmintools.com/art355.html
>
> Is there any problems with what this author is recommending? I just
> want to be sure if I create a user via the VSFTPD program that they
> only have access to 1 directory and that is it. I do not want them
> being able to see outside the one assigned directory.
>
> What is the best way to do this?
>
> Thanks a bunch for some help.
>
> Arnie.


What the author is recommending doesn't seem too bad, but it doesn't do
what you want.

vsftpd is pretty flexible if you use user_config_dir; also, local_chroot
and anon_chroot are useful. You'll want write_enable=YES,
virtual_use_local_privs=YES, local_chroot=/srv/ftpd/$USER, and possibly
force_local_logins_ssl=YES, force_local_data_ssl=YES in the user
configuration files ($USER_CONFIG_DIR/$USER). [Warning: the latter
option breaks many FTP clients. CoreFTP (Win32) and lftp (*nix) do
work.]

Joachim
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0