LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-05-2005, 04:59 AM   #1
future assassin
LQ Newbie
 
Registered: Jan 2003
Posts: 23

Rep: Reputation: 15
vsftpd and users question


Im totaly new to Linux and went with Slackware 10.1,

I have Apache/Mysql/VSFTPD installed and running ok so far. My problem is that when a user logs into the server with ftp they can leave their home/www/username directory and brose the server directory structure.

When I use adduser I put each user under the users group and under /home/www/username for the home dir. The susername dir is also set to the DocumentRoot for each virtual host

My question is how do I set it up so that each user cant go outside of their home dir when they ftp in?. Do I have to have each user under a different group?


Thanks
Arek
 
Old 07-05-2005, 05:12 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Do you have
chroot_local_user=YES
in /etc/vsftpd.conf ?
 
Old 07-05-2005, 05:35 AM   #3
future assassin
LQ Newbie
 
Registered: Jan 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Ok added that in and its working.

Thanks

Last edited by future assassin; 07-05-2005 at 05:46 AM.
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 07:29 AM
home users with vsftpd swobodin Linux - Software 1 02-15-2004 09:35 AM
vsFTPd users question ghight Linux - Software 1 11-06-2003 12:23 PM
FTP only users for vsftpd. jsbush Linux - Newbie 2 10-27-2003 07:13 PM
vsftpd - setting up users Korff Linux - Networking 7 05-31-2003 05:00 PM


All times are GMT -5. The time now is 10:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration