LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2003, 02:00 PM   #1
jonnyz
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, 02:06 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Use either:
chroot_list_enable
chroot_local_user

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration