View previous topic :: View next topic |
Author |
Message |
heavydwitstyle n00b
Joined: 24 Nov 2005 Posts: 44
|
Posted: Fri Aug 25, 2006 6:57 pm Post subject: A few VSFTPD questions. Please help. |
|
|
Hey everybody.
I'm going to be hosting a photo server for my coworker and therefore I needed to install an FTP server. I chose VSFTPD because of its simplicity and supposed "very secure" nature.
I installed the server with...
I then made my changes to the default "/etc/vsftpd/vsftpd.conf.example" file, copied it to "/etc/vsftpd/vsftpd.conf"
and then started the server and added it to startup with...
Code: |
/etc/init.d/vsftpd start
rc-update add vsftpd default
|
I created my ftp user and tested and I can create files/folders in their directory and so on. However I then typed
and hit enter and it let me complete the command and changed my current working directory. I DO NOT want this. I want the user that logs in to be jailed to their home directory of /home/*username*. Anybody know of a way I can do this? Any help on this matter would be greatly appreciated. If you also know of a way to control what users can FTP in that would help as well.
Thanks in advance.
Cheers,
David _________________ Dual Core - Pentium D 805 - 2 x 2.66Ghz
2048MB DDR533 Crucial Memory
2x 320Gb WD SATA2
---
MacBook Pro running OS X 10.4.8 |
|
Back to top |
|
|
heavydwitstyle n00b
Joined: 24 Nov 2005 Posts: 44
|
Posted: Tue Aug 29, 2006 2:08 pm Post subject: |
|
|
*bump* Anybody? I really would like to get this server hardened a bit more but the documentation doesn't explain it well enough for me :S
Thanks in advance,
- Dave _________________ Dual Core - Pentium D 805 - 2 x 2.66Ghz
2048MB DDR533 Crucial Memory
2x 320Gb WD SATA2
---
MacBook Pro running OS X 10.4.8 |
|
Back to top |
|
|
Eirikg n00b
Joined: 28 Aug 2006 Posts: 7
|
Posted: Tue Aug 29, 2006 3:23 pm Post subject: |
|
|
Good choise I run vsftpd on my maxtor shared storage
I advice you to read this, it may seem like a pretty basic ftp server, but its in fact pretty powerfull
http://vsftpd.beasts.org/vsftpd_conf.html
For your question look at "chroot_***" |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Tue Aug 29, 2006 3:33 pm Post subject: |
|
|
man vsftpd.conf
or see the example conf file
Code: | chroot_local_user=YES | works for me _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
heavydwitstyle n00b
Joined: 24 Nov 2005 Posts: 44
|
Posted: Tue Aug 29, 2006 7:47 pm Post subject: |
|
|
Thanks guys, this is exaactly what I needed to see!
I was opening the man page of vsftpd itself.
Which obviously didn't give me the info I needed.
Thanks again,
- Dave _________________ Dual Core - Pentium D 805 - 2 x 2.66Ghz
2048MB DDR533 Crucial Memory
2x 320Gb WD SATA2
---
MacBook Pro running OS X 10.4.8 |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Tue Aug 29, 2006 8:35 pm Post subject: |
|
|
Just a hint: *always* scroll at the bottom of a manpage - there you'll find most of the times some usefull to related man-pages ...
Greetz
swimmer |
|
Back to top |
|
|
|