Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-20-2003, 03:00 PM   #1
LQ Newbie
Registered: Jun 2003
Location: Stockholm, Sweden
Distribution: SuSE
Posts: 1

Rep: Reputation: 0
Question vsFTPd: howto keep a user in his home directory

I use vsFTPd on my linux box and I have local users who logon only via FTP.

I want to keep these users in their respective home directory.

When the user logs on via FTP the user ends up in /home/[username]

There's only FTP-access for them.

I don't want the user to be able to se the other user directories(in /home/). I aslo don't want the user to be able to download configuration files and such for variuos reasons.

I would really like to create a virtual root for my system, so the user sees that he's in / when he's actually in "/home/user"
Old 06-20-2003, 03:06 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Use either:

depending on the number of users you want to chroot. Look at "man vsftpd.conf" for more info.


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
create ftp user for vsftpd server without home directory cccc Linux - Networking 2 07-30-2005 07:32 AM
vsftpd - limit user to his/her home directory kaon Linux - Software 0 01-15-2005 01:32 AM
vsftpd access to non-home directory rwhart Linux - Newbie 1 02-10-2004 02:42 AM
VSFTPD - lock user to home directory ohleary Linux - Software 3 11-20-2003 03:04 PM
vsftpd home directory Harpune Linux - Networking 2 03-16-2003 11:58 AM

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