LinuxQuestions.org
Review your favorite Linux distribution.
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, 05:52 PM   #1
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
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, 06: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, 07:07 PM   #3
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

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

Thanks again!
 
Old 08-30-2008, 11:54 PM   #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 01:24 AM
VSFTP: 500 OOPS: unrecognised variable in config file snapper64 Linux - Software 4 07-01-2005 04:16 PM
VSFTP question basemodel Linux - Software 1 02-27-2004 10:50 PM
Vsftp - Sligh Config help |nSaNe Linux - Networking 3 08-08-2003 09:46 AM
VSFTP config help needed dquick Linux - Networking 0 06-19-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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