Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-03-2006, 05:14 AM   #1
LQ Newbie
Registered: Oct 2006
Posts: 17

Rep: Reputation: 0
question on vsftpd

i have allowed this setto yes in vsftp.conf(not using xinetd to control it)
i'm able to ftp as a local user into the server no problem, but i don't want to the user to see all the files in his/her home dir , like all the hiden . files (profiles)..etc..
is there a way i only let the user see a particular dir in his home dir when they ftp in the server.
Old 11-03-2006, 09:08 PM   #2
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
I only have chroot_local_user enabled on my server, so I don't really know if the following will work or how to implement it exactly, but this is from the docs

If enabled, along with chroot_local_user , then a chroot() jail location may be specified on a per-user basis. Each user's jail is derived from their home directory string in /etc/passwd. The occurrence of /./ in the home directory string denotes that the jail is at that particular location in the path.

Default: NO
Check out man vsftpd.conf for more stuff on chroot'ing

Old 11-04-2006, 01:38 PM   #3
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
I don't think there is a way to hide the hidden files in the user within their home directory. In any case, as a user they can read and write to these files in any case, so why hide them over ftp?

If you get the chroot enabled, the user will only see within their own home directory, so it won't be any problem.



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
Question about vsFTPd LinuxStart Linux - Software 39 07-14-2005 07:15 PM
vsFTPd question(s) username17 Linux - Software 5 05-19-2005 11:31 PM
vsftpd question daveime Linux - Security 1 10-08-2004 07:12 AM
VSFTPD Question TheRealDeal Linux - General 4 12-02-2003 03:41 PM
vsftpd question Drogo Linux - Software 6 01-29-2003 05:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration