LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-16-2007, 05:27 PM   #1
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Rep: Reputation: 15
how to configure vsftpd.conf


Hello!

I have fedora 6 with vsftp. Could anyone tell me how to configure vsftpd.conf for user1 and user2 to ftp their home dir for r/w and a share folder say /home/ftp only read? I looked the forum but confused. I know anonymous ftp, I disable it. I want local user to ftp. I know default ftp dir is /var/ftp,can I change it to, for example /var/www/home or /home/ftp?

Here is what I have done:
1.create user1,user2 and home dir in /home/user1,/home/user2
2.create group: ftpusers includes user1,user2
3.change permission: root:ftpusers -drwxr-wr-w /home/ftp
user1:ftpusers drwx------ /home/user1
user2:ftpusers drwx------ /home/user2

When login as user1, error 500 can not change dir /home/user1 connection closed...

Thanks
 
Old 04-17-2007, 04:42 AM   #2
Teomari
Member
 
Registered: Mar 2007
Location: Manila Philippines
Distribution: Slackware, Redhat, Ubuntu, Centos, Open Suse
Posts: 38

Rep: Reputation: 15
try this link

http://www.linuxhomenetworking.com/w...P_Server_Setup

note: this site is for a redhat user, try to figure for your linux distro, to make it compatible
 
Old 04-17-2007, 12:15 PM   #3
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks. I had searched and looked that on the website before.
still error 500 can not change dir /home/user1 ,connection closed...

Here is the script:

# Example config file /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
xferlog_std_format=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
listen=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES

Last edited by dfw123; 04-17-2007 at 02:35 PM.
 
  


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
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
ELF Missing From vsftpd.conf cmnorton Linux - General 0 04-06-2007 02:57 PM
vsftpd won't read vsftpd.conf m2azer Linux - Software 9 04-21-2006 03:25 PM
VSFTPD.conf Malkaven Linux - Networking 7 03-09-2006 02:01 AM
vsftpd.conf - 550 error need help zaoka Linux - Software 3 08-02-2005 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:02 AM.

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