View previous topic :: View next topic |
Author |
Message |
georgz Tux's lil' helper

Joined: 06 Dec 2002 Posts: 137 Location: Munich, Germany
|
Posted: Mon Jan 20, 2003 9:12 am Post subject: vsftpd and /etc/ftpusers |
|
|
For me it seems that vsftpd is ignoring /etc/ftpusers (although this file comes with the vsftpd ebuild). Is there a config option for that? |
|
Back to top |
|
 |
hanj Veteran


Joined: 19 Aug 2003 Posts: 1500
|
Posted: Thu Apr 20, 2006 3:26 am Post subject: |
|
|
I hate to suck this post back up.. but I'm running into the same problem now. /etc/vsftpd/ftpusers file is completely being ignored. Looking at the /etc/pam.d/vsftpd file it looks good.
My /etc/pam.d/vsftpd file
Code: | #%PAM-1.0
# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.pam,v 1.3 2002/10/19 06:45:57 woodchip Exp $
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_shells.so
account required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth |
Here is my /etc/vsftpd/vsftpd.conf
Code: | anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
log_ftp_protocol=YES
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=nopriv
ftpd_banner='MyBanner'
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot
pasv_min_port=xxxxx
pasv_max_port=xxxxx
background=YES
listen=YES
|
I do have /etc/vsftpd/ftpusers file
Code: | 691 Apr 19 21:20 ftpusers |
I added a system user.. added a password and was able to log in fine using FTP. That person was added to ftpusers. vsftpd has been restarted with every change to the ftpusers file.
Here is my version of vsftpd
Code: | net-ftp/vsftpd-2.0.3-r1 |
Any ideas?
Thanks!
hanji |
|
Back to top |
|
 |
|