Hi,
I as you do now mostly use scp :)
However if I remember correctly with vsftp I think you need to add the user
to the file /etc/vsftpd.users or set it as disabled.
The file is just a username per line.
I remember disabling the chroot also for systems with just a admin user in
users file.
Still scp is probably a better choice in most cases.
Kind regards
Jacob
Från: Lincoln Johnson [mailto:lin...@gm...]
Skickat: den 8 november 2008 00:42
Till: dev...@li...
Ämne: [Devil-Linux-discuss] Trouble with vsftpd
Hi all
So I'm having trouble logging into vsftpd on my new DL box...
I'm running DL v1.2.25-i686-SMP - Kernel 2.4.36.6
Here are the contents of my /etc/vsftpd.conf file:
-----
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=002
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=nobody
#async_abor_enable=YES
#ascii_upload_enable=YES
#ascii_download_enable=YES
ftpd_banner=Welcome to WakaServ!
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
#ls_recurse_enable=YES
listen=yes
text_userdb_names=YES
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.users
secure_chroot_dir=/var/empty
#dual_log_enable=YES
#xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES
#xferlog_enable=YES
syslog_enable=YES
ftp_username=nobody
check_shell=NO
background=YES
pam_service_name=vsftpd
anon_other_write_enable=YES
dirlist_enable=YES
download_enable=YES
no_anon_password=YES
-----
Whenever I try to connect to the ftp, with any login info, either root or
anonymous, I get a 530 Permission denied error.
Vsftpd is running, and I can putty into the server. Any advice?
|