View previous topic :: View next topic |
Author |
Message |
Shucklak Tux's lil' helper
Joined: 09 Feb 2006 Posts: 96 Location: New York
|
Posted: Fri Jul 21, 2006 8:57 pm Post subject: Problems with VSFTPD |
|
|
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 |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Fri Jul 21, 2006 9:19 pm Post subject: |
|
|
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 |
|
|
Shucklak Tux's lil' helper
Joined: 09 Feb 2006 Posts: 96 Location: New York
|
Posted: Mon Jul 24, 2006 8:10 pm Post subject: |
|
|
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 |
|
|
basement n00b
Joined: 21 May 2006 Posts: 19
|
Posted: Tue Jul 25, 2006 11:24 am Post subject: |
|
|
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 |
|
|
Shucklak Tux's lil' helper
Joined: 09 Feb 2006 Posts: 96 Location: New York
|
Posted: Tue Jul 25, 2006 12:12 pm Post subject: |
|
|
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 |
|
|
|