LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-08-2005, 01:35 PM   #1
nucleocide
LQ Newbie
 
Registered: Aug 2005
Location: MI
Distribution: Mandriva 2006
Posts: 7

Rep: Reputation: 0
chrooting


I am running vsftp and apache, default with my distro FC4. What I would like to set up is when user xxx logs in via ftp, the current directory is /var/www/html. I properly set up all the permissions in that directory. The problem is that I don't know how to configure vsftp. I played around with the config file for a while but with no success.
 
Old 08-08-2005, 03:47 PM   #2
Azerix
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 6

Rep: Reputation: 0
Thumbs up Re: chrooting

Quote:
Originally posted by nucleocide
I am running vsftp and apache, default with my distro FC4. What I would like to set up is when user xxx logs in via ftp, the current directory is /var/www/html. I properly set up all the permissions in that directory. The problem is that I don't know how to configure vsftp. I played around with the config file for a while but with no success.
By folowing this howto http://www.engardelinux.org/howto/vsftp_howto.html . This howto is very understanddebale.
 
Old 08-08-2005, 04:30 PM   #3
nucleocide
LQ Newbie
 
Registered: Aug 2005
Location: MI
Distribution: Mandriva 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I checked out that link but it didn't really seem to help. The only part that even seemed relevent was in the section called "Step 2" in which they say:

<i>To chroot a local user to their home directory, put their username in this file. One username per line. Please note this only matter is you:

a) are allowing local users to login.
b) have "chroot_local_user=NO" in /etc/vsftpd.conf </i>

I guess this means that I do want to chroot my xxx user to /var/www/html instead of /home/xxx.
 
  


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
chrooting sendmail dominant Linux - Security 2 07-01-2005 04:43 AM
chrooting advice reesee Linux - Security 1 07-14-2004 05:00 PM
Quick Q on 'chrooting'... tarballed Linux - Security 2 07-17-2003 11:15 AM
chrooting vsftpd kemu Linux - Security 4 05-06-2003 06:42 AM
Problems chrooting :( rverlander Linux From Scratch 1 07-21-2002 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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