Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  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?

Old 07-05-2005, 05:12 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,449

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Do you have
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.


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


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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:07 PM.

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