LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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, 04:12 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Do you have
chroot_local_user=YES
in /etc/vsftpd.conf ?
 
Old 07-05-2005, 04: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 04:46 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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