Networking Forums

Networking Forums > Computer Networking > Linux Networking > vsftpd setup

Reply
 
 
Jemy
Guest
Posts: n/a

 
      08-30-2004, 09:27 AM
Hi all, I am setting up vsftpd on fedora 2 linux server, everything is fine,
the problem is that when i connect or login, I realised user can do "cd .."
or "cd /" to change directory almost anywhere", although user has no ability
to modify but I dont feel user need to have such ability. Is there a way to
restrict or prevent user from doing this?
thanks in advance for information.
Jemy


 
Reply With Quote
 
 
 
 
Jose M.Herrera M.
Guest
Posts: n/a

 
      08-30-2004, 02:57 PM
In comp.os.linux.networking Jemy <(E-Mail Removed)> wrote:
> Hi all, I am setting up vsftpd on fedora 2 linux server, everything is fine,
> the problem is that when i connect or login, I realised user can do "cd .."
> or "cd /" to change directory almost anywhere", although user has no ability
> to modify but I dont feel user need to have such ability. Is there a way to
> restrict or prevent user from doing this?
> thanks in advance for information.
> Jemy


Hi.
That means your configuration is not right.
Because, when user connect to your ftp (with vsftpd), by default the
configuration make a chroot to the path specified in /etc/passwd.

To prove, I have installed vsftpd in my computer and works right, only
starting the service (without configuration).

Make sure in the /etc/passwd you have the right path (see the ftp user).

Bye!



--
.............................................
Jose Miguel Herrera M. - User #246070 counter.li.org
Est.Ing.Civil Informatica - UTFSM
Valparaiso, Chile - http://www.inf.utfsm.cl/~jherrera
 
Reply With Quote
 
Patrick Weber
Guest
Posts: n/a

 
      08-30-2004, 05:30 PM
Hi Jemy,


> Hi all, I am setting up vsftpd on fedora 2 linux server, everything is fine,
> the problem is that when i connect or login, I realised user can do "cd .."
> or "cd /" to change directory almost anywhere", although user has no ability
> to modify but I dont feel user need to have such ability. Is there a way to
> restrict or prevent user from doing this?


man 5 vsftpd.conf

look for chroot_list_enable and chroot_local_user

pAt
 
Reply With Quote
 
Jemy
Guest
Posts: n/a

 
      08-31-2004, 02:30 AM
thanks Patrick. that does the job..

Jemy


"Patrick Weber" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Hi Jemy,
>
>
> > Hi all, I am setting up vsftpd on fedora 2 linux server, everything is

fine,
> > the problem is that when i connect or login, I realised user can do "cd

..."
> > or "cd /" to change directory almost anywhere", although user has no

ability
> > to modify but I dont feel user need to have such ability. Is there a way

to
> > restrict or prevent user from doing this?

>
> man 5 vsftpd.conf
>
> look for chroot_list_enable and chroot_local_user
>
> pAt



 
Reply With Quote
 
Luke Hoersten
Guest
Posts: n/a

 
      09-04-2004, 03:56 AM
I've tried tons of different ftp daemons (proftpd, oftpd, pure-ftpd,
glftpd...) and vsftpd was by far my favorite. Very stable - low resource
usage - easy to config yet no loss in featuers. Its the best. Good choice.

Jemy wrote:
> Hi all, I am setting up vsftpd on fedora 2 linux server, everything is fine,
> the problem is that when i connect or login, I realised user can do "cd .."
> or "cd /" to change directory almost anywhere", although user has no ability
> to modify but I dont feel user need to have such ability. Is there a way to
> restrict or prevent user from doing this?
> thanks in advance for information.
> Jemy
>
>

 
Reply With Quote
 
 
 
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd Big Bill Linux Networking 7 08-07-2009 11:30 PM
vsftpd with ssl - vsftpd.user_list not working shaped Linux Networking 0 01-31-2006 07:04 PM
vsftpd daz@rayneressex.com Linux Networking 1 07-27-2005 01:52 PM
RH9 vsftpd log Mike - EMAIL IGNORED Linux Networking 5 04-09-2004 11:06 PM
help needed: vsftpd and/or proftpd setup on laptop a user Linux Networking 7 07-31-2003 04:13 PM



1 2 3 4 5 6 7 8 9 10 11