LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-24-2010, 12:51 AM   #1
coolest_2008
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
vsftpd chroot help needed


Hii Guys
I have my own dedicated server box running (using it for game servers). I access it via ssh and I have root control of it. It has FEDORA Operating System. I wanna give FTP control of different directories to different users. Right now there are no other FTP users except root. I have installed vsftpd and dont know what should I do next? How do I add users (who can read/write/delete files) and How do I restrict them to their home directory?

Here is what I want:
username:client1
password:12345
home directory: home/server1

username:client2
password:12345
home directory: home/server2


Please help me!! as I am newbie to linux
Thanks!!!
 
Old 08-24-2010, 03:38 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
You should never allow root as an ftp user (and many ftp daemons will deny root by default). Among other reasons, unless you're tunneling the control channel through TLS, you're exposing root's password in clear text.

As for setting this up, how comfortable are you on the command line? vsftpd.conf(5) is comprehensive: http://vsftpd.beasts.org/vsftpd_conf.html

If you are willing to invest the time, I'd actually recommend picking up a recent book on Fedora so that you can learn your way around. If you are more set on using a GUI, consider installing and learning Webmin.
 
1 members found this post helpful.
  


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
CHROOT in VSFTPD rolando1bueno Linux - Security 8 12-09-2007 09:32 AM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd and chroot bstempi Linux - Security 10 11-08-2005 02:56 PM
chroot dhcpd and vsftpd = info needed houler Linux - Security 2 04-02-2005 02:27 PM
vsftpd and chroot gbj Linux - Networking 3 03-08-2005 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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