LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-23-2007, 10:41 AM   #1
Eric1982
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Lightbulb VSFTPD help needed pleaseee!


Hello mates .. i just installed vsftpd on my server .. i have no idea how 2 use

what im tryin to do is :

i have a client with a website blabla.com .. i want to give him an ftp account with username and password, when he types ftP://blabla.com he enters his username and pass correctly, he goes to the directory /var/html/www/blabla

he can view everything inside that folder ( files and subfolders ) but cant go outside of it ( to my server folder var,etc .. )

please need help .. thank u mates
 
Old 10-23-2007, 11:04 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Create the users home directory as /var/html/www/blabla then add him to the chroot users config file. This should enable him to only work in that directory and subdirectories.

In the vsftpd.conf file just add:

chroot_local_user=YES

And if DNS is already setup, it should already point the blabla.com name to the server running vsftpd.
 
  


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
Help me PLEASEEE!!! (Warcraft3 FrozenThrone and cedega) PLEASE !!! hacksoft Linux - Games 2 07-07-2005 04:49 PM
vsftpd`s help is needed conm Linux - Software 2 07-01-2005 09:52 AM
chroot dhcpd and vsftpd = info needed houler Linux - Security 2 04-02-2005 02:27 PM
lp with image file creation/editing pleaseee linuCs Linux - Newbie 1 09-06-2004 01:07 AM
postgresql+jdbc in redhat 7.3 need help pleaseee!! Sridhar Guntur Linux - Software 0 10-22-2002 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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