LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-19-2003, 09:30 AM   #1
knueven7
LQ Newbie
 
Registered: Mar 2003
Posts: 25

Rep: Reputation: 15
vsftp question


I am running an apache web server with different directories for different sites. I would like to create ftp only users who can update their individual sites, without them having access to ANYTHING other than their directory. How can I create an FTP user that has access to nothing but a certain directory (no login, shell access or anything other than the directory)?
 
Old 03-19-2003, 09:43 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You have to look into something called chroot . It restricts users from getting out of there home directory. Do a google search for chrooting .
 
Old 05-08-2003, 12:15 PM   #3
fmertus
LQ Newbie
 
Registered: Apr 2003
Location: Southern Oregon
Distribution: redhat, mandrake
Posts: 17

Rep: Reputation: 0
chroot

Hi,

If you add the line chroot_local_user=yes to vsftpd.conf, you should get the desired result.

Hope that helps.
 
Old 05-08-2003, 01:52 PM   #4
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
Check this site out:


http://penguin.epfl.ch/chroot.html

Looks like it has exactly what you're looking for...
 
  


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
VSFTP question WiWa Linux - Newbie 7 08-13-2004 02:30 AM
VSFTP question basemodel Linux - Software 1 02-27-2004 10:50 PM
VSFTP question on configuration? gsmonk Linux - Networking 0 08-05-2003 01:51 PM
vsftp Question armcfall Linux - Software 2 06-24-2003 06:41 PM
question of vsFTP on RH8 sieeus Linux - Software 1 10-21-2002 08:29 AM


All times are GMT -5. The time now is 04:05 AM.

Main Menu
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