LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-12-2010, 02:55 PM   #1
m_kaleia
LQ Newbie
 
Registered: Oct 2008
Distribution: UBUNTU
Posts: 9

Rep: Reputation: 0
Unhappy how to make users jailed in some directory using vsftpd


Hello all
I made ftp server usgin vsftpd , and there is a choice to restrict local users to their home directories by type : chroot_local_user=YES .
But, I want to force all users to login to another directory like /home/ftp , and jail them in it ..
how can I make this ?
Tthanks .
 
Old 02-12-2010, 04:39 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Hi,

Add:
Code:
local_root=/home/ftp
in vsftp.conf. Also make sure that the directory is writable by users:
Code:
chgrp users /home/ftp
chmod -R 775 /home/ftp
Regards
 
1 members found this post helpful.
Old 02-13-2010, 02:43 PM   #3
m_kaleia
LQ Newbie
 
Registered: Oct 2008
Distribution: UBUNTU
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks , that's work and my problem solved .
 
  


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 - Make It So Only Specific Users Can Upload lifeismusic434 Linux - Server 3 12-08-2008 10:56 PM
vsftpd - How to lock users into a specified directory tree? nyle Linux - Software 6 02-11-2008 06:34 PM
FTP users are jailed to home dir ride153 Linux - Server 4 03-08-2007 05:47 PM
Jailed(chrooted) users and ftp linux_terror Linux - Security 4 08-29-2004 06:56 PM
vsftp-local users jailed, but....... michael247 Linux - Software 0 03-22-2004 04:32 PM


All times are GMT -5. The time now is 06:44 PM.

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