LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2008, 06:52 PM   #1
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
VSFTP Config question


hello all
I have setup a VSFTP server
for some reason my ftpusers can cd / and view everything in root (not write or modify)
I really dont want people being able to do that is there anyway to make it so that in ftp cd / will = /home/user
 
Old 06-06-2008, 07:22 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I think this is what chroot_local_user=YES does.

Note from man vsftpd.conf

Quote:
chroot_local_user
If set to YES, local users will be (by default) placed in a chroot() jail in their home direc-
tory after login. Warning: This option has security implications, especially if the users
have upload permission, or shell access. Only enable if you know what you are doing. Note
that these security implications are not vsftpd specific. They apply to all FTP daemons which
offer to put local users in chroot() jails.

Default: NO
Perhaps someone else can give some colour on what these security implications are. Lat time I tried googling for an answer, I got nowhere much
 
Old 06-06-2008, 08:07 PM   #3
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Original Poster
Rep: Reputation: 40
that did it. I added the users to the chroot_list
which kept them from seeing /

Thanks again!
 
Old 08-31-2008, 12:54 AM   #4
visitnag
Member
 
Registered: Mar 2008
Posts: 147

Rep: Reputation: 15
dear watcher69b

can you please guide me how to create a user login (only ftp permissions) who can access my server and download or upload files(they shud not hav root permissions). Give me detailed list of commands 'coz i am a newbie. thank you.
 
  


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
VSFTP not reading config??? flashfreak Linux - Server 5 05-04-2008 02:24 AM
VSFTP: 500 OOPS: unrecognised variable in config file snapper64 Linux - Software 4 07-01-2005 05:16 PM
VSFTP question basemodel Linux - Software 1 02-27-2004 11:50 PM
Vsftp - Sligh Config help |nSaNe Linux - Networking 3 08-08-2003 10:46 AM
VSFTP config help needed dquick Linux - Networking 0 06-19-2003 11:43 AM


All times are GMT -5. The time now is 06:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration