Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with VSFTPD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Shucklak
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 96
Location: New York

PostPosted: Fri Jul 21, 2006 8:57 pm    Post subject: Problems with VSFTPD Reply with quote

I'm pretty new to this but I am trying to set up a server with FTP enabled for users only. I edited the vsftpd.conf file to disable anonymous login and enable local users. What else needs to be configured to make this work? Right now when I try to login in it fails.
Here is my vsftpd.conf
Code:
listen=YES
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key


I'm not too sure I understand what those last few lines are, I based this off of an example vsftpd.conf file I found on the web.

Thanks
_________________
http://www.emergelife.com
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Fri Jul 21, 2006 9:19 pm    Post subject: Reply with quote

An actual error message would be useful, you will most likely find it in your syslog. ;)
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Shucklak
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 96
Location: New York

PostPosted: Mon Jul 24, 2006 8:10 pm    Post subject: Reply with quote

Actually whatever was stopping me from logging in I seemed to have fixed. But I have a new problem. I can log in and change directories and view everything, but I can't upload anything. Would this be a user permission setting I need to change?
Thanks
_________________
http://www.emergelife.com
Back to top
View user's profile Send private message
basement
n00b
n00b


Joined: 21 May 2006
Posts: 19

PostPosted: Tue Jul 25, 2006 11:24 am    Post subject: Reply with quote

Try "man vsftpd.conf" to see the config file options and what they do. Or go through the example config file in /etc/vsftpd/. I assume you're missing this one:

# Uncomment this to enable any form of FTP write command.
#write_enable=YES
Back to top
View user's profile Send private message
Shucklak
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 96
Location: New York

PostPosted: Tue Jul 25, 2006 12:12 pm    Post subject: Reply with quote

I can't believe it was something so simple! I can't believe I didn't see that option either. I've been doing this on two computers now for about two weeks and I had the same problem with both of them and I just couldn't figure it out. Well, thank you for your help.
_________________
http://www.emergelife.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum